pub enum ParseEvent<'buf> {
BitstreamKind(BitstreamKind),
Codestream(&'buf [u8]),
}
Expand description
Parser event emitted by ParseEvents
.
Variants§
BitstreamKind(BitstreamKind)
Bitstream structure is detected.
Codestream(&'buf [u8])
Codestream data is read.
Returned data may be partial. Complete codestream can be obtained by concatenating all data
of Codestream
events.
Trait Implementations§
Auto Trait Implementations§
impl<'buf> Freeze for ParseEvent<'buf>
impl<'buf> RefUnwindSafe for ParseEvent<'buf>
impl<'buf> Send for ParseEvent<'buf>
impl<'buf> Sync for ParseEvent<'buf>
impl<'buf> Unpin for ParseEvent<'buf>
impl<'buf> UnwindSafe for ParseEvent<'buf>
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