Trait tea_sdk::serde::handle::HandleBytes
pub trait HandleBytes {
type Handle<'a>: Future<Output = Result<Vec<u8>, Global>> + 'a
where Self: 'a;
// Required method
fn handle_bytes<'a>(&'a self, req: &'a [u8]) -> Self::Handle<'a>;
}
Required Associated Types§
Required Methods§
fn handle_bytes<'a>(&'a self, req: &'a [u8]) -> Self::Handle<'a>
Object Safety§
This trait is not object safe.