pub enum ObuAction<'a> {
Process(Obu<'a>),
Drop(u32),
}
Expand description
Tells what should be done with the OBU after Parser::read_obu
is called.
Variants§
Process(Obu<'a>)
We should process the OBU normally.
Drop(u32)
We should drop this OBU and advance to the next one. The u32 is how much we should advance.
Auto Trait Implementations§
impl<'a> Freeze for ObuAction<'a>
impl<'a> RefUnwindSafe for ObuAction<'a>
impl<'a> Send for ObuAction<'a>
impl<'a> Sync for ObuAction<'a>
impl<'a> Unpin for ObuAction<'a>
impl<'a> UnwindSafe for ObuAction<'a>
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