pub struct H1StreamDecoder { /* private fields */ }Implementations§
Source§impl H1StreamDecoder
impl H1StreamDecoder
pub fn new(kind: H1MessageKind, stream_id: u64) -> Self
pub fn push(&mut self, data: &[u8])
pub fn try_decode(&mut self) -> Result<Option<StreamFrame>, H1DecodeError>
pub fn try_decode_message( &mut self, ) -> Result<Option<HttpPackStreamMessage>, H1DecodeError>
pub fn buffer_len(&self) -> usize
Auto Trait Implementations§
impl Freeze for H1StreamDecoder
impl RefUnwindSafe for H1StreamDecoder
impl Send for H1StreamDecoder
impl Sync for H1StreamDecoder
impl Unpin for H1StreamDecoder
impl UnwindSafe for H1StreamDecoder
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