pub struct VTPushParser { /* private fields */ }Implementations§
Source§impl VTPushParser
impl VTPushParser
pub fn new() -> Self
pub fn with_limits(self, max_short_hdr: usize, stream_flush: usize) -> Self
pub fn feed_with<F: FnMut(VTEvent<'_>)>(&mut self, input: &[u8], cb: F)
pub fn push_with<F: FnMut(VTEvent<'_>)>(&mut self, b: u8, cb: &mut F)
pub fn finish<F: FnMut(VTEvent<'_>)>(&mut self, cb: &mut F)
Auto Trait Implementations§
impl Freeze for VTPushParser
impl RefUnwindSafe for VTPushParser
impl Send for VTPushParser
impl Sync for VTPushParser
impl Unpin for VTPushParser
impl UnwindSafe for VTPushParser
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