Trait tea_codec::serde::handle2::HandleBytes
source · pub trait HandleBytes {
type Handle<'a>: Future<Output = Result<Vec<u8>>> + 'a
where Self: 'a;
// Required method
fn handle_bytes<'a>(&'a self, req: &'a [u8]) -> Self::Handle<'a>;
}