Trait binate::frame::Decode [−][src]
pub trait Decode { type Value; fn decode<B: Buf>(
bytes: &mut B,
stream_id: u32,
flags: Flags
) -> Result<Self::Value, DecodeError>; }
This is supported on crate feature
frame
only.Expand description
A trait for decoding bytes into a frame.