pub struct VTCapturePushParser<const INTEREST: u8 = VT_PARSER_INTEREST_DEFAULT> { /* private fields */ }Expand description
A parser that allows for “capturing” of input data, ie: temporarily transferring control of the parser to unparsed data events.
This functions in the same way as VTPushParser, but emits
VTCaptureEvents instead of VTEvents.
Implementations§
Source§impl VTCapturePushParser
impl VTCapturePushParser
pub const fn new() -> VTCapturePushParser
pub const fn new_with_interest<const INTEREST: u8>() -> VTCapturePushParser<INTEREST>
Source§impl<const INTEREST: u8> VTCapturePushParser<INTEREST>
impl<const INTEREST: u8> VTCapturePushParser<INTEREST>
Trait Implementations§
Auto Trait Implementations§
impl<const INTEREST: u8> Freeze for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: Freeze,
impl<const INTEREST: u8> RefUnwindSafe for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: RefUnwindSafe,
impl<const INTEREST: u8> Send for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: Send,
impl<const INTEREST: u8> Sync for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: Sync,
impl<const INTEREST: u8> Unpin for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: Unpin,
impl<const INTEREST: u8> UnsafeUnpin for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: UnsafeUnpin,
impl<const INTEREST: u8> UnwindSafe for VTCapturePushParser<INTEREST>where
VTPushParser<INTEREST>: UnwindSafe,
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