pub struct SampledHeader {
pub protocol: u32,
pub frame_length: u32,
pub stripped: u32,
pub header: Vec<u8>,
}
Fields§
§protocol: u32
§frame_length: u32
§stripped: u32
§header: Vec<u8>
Trait Implementations§
Source§impl Clone for SampledHeader
impl Clone for SampledHeader
Source§fn clone(&self) -> SampledHeader
fn clone(&self) -> SampledHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SampledHeader
impl Debug for SampledHeader
Source§impl Decodeable for SampledHeader
impl Decodeable for SampledHeader
fn read_and_decode(stream: &mut dyn ReadSeeker) -> Result<SampledHeader, Error>
Auto Trait Implementations§
impl Freeze for SampledHeader
impl RefUnwindSafe for SampledHeader
impl Send for SampledHeader
impl Sync for SampledHeader
impl Unpin for SampledHeader
impl UnwindSafe for SampledHeader
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