pub struct H1Decoder { /* private fields */ }Implementations§
Source§impl H1Decoder
impl H1Decoder
pub fn new(kind: H1MessageKind) -> Self
pub fn push(&mut self, data: &[u8])
pub fn try_decode(&mut self) -> Result<Option<PackedMessage>, H1DecodeError>
pub fn buffer_len(&self) -> usize
Auto Trait Implementations§
impl Freeze for H1Decoder
impl RefUnwindSafe for H1Decoder
impl Send for H1Decoder
impl Sync for H1Decoder
impl Unpin for H1Decoder
impl UnwindSafe for H1Decoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more