pub struct Obu<'a> {
pub header: ObuHeader,
pub bytes_used: usize,
/* private fields */
}
Expand description
Contains the OBU header and a reference to its data. The OBU itself hasn’t been parsed yet.
Fields§
§header: ObuHeader
The OBU header.
bytes_used: usize
Amount of bytes from the input consumed to parse this OBU.
Trait Implementations§
impl<'a> Eq for Obu<'a>
impl<'a> StructuralPartialEq for Obu<'a>
Auto Trait Implementations§
impl<'a> Freeze for Obu<'a>
impl<'a> RefUnwindSafe for Obu<'a>
impl<'a> Send for Obu<'a>
impl<'a> Sync for Obu<'a>
impl<'a> Unpin for Obu<'a>
impl<'a> UnwindSafe for Obu<'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