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