Struct pcap_parser::pcapng::UnknownBlock
source · [−]pub struct UnknownBlock<'a> {
pub block_type: u32,
pub block_len1: u32,
pub data: &'a [u8],
pub block_len2: u32,
}
Expand description
Unknown block (magic not recognized, or not yet implemented)
Fields
block_type: u32
Block type (little endian)
block_len1: u32
data: &'a [u8]
block_len2: u32
Trait Implementations
sourceimpl<'a> Debug for UnknownBlock<'a>
impl<'a> Debug for UnknownBlock<'a>
sourceimpl<'a> ToVec for UnknownBlock<'a>
Available on crate feature serialize
only.
impl<'a> ToVec for UnknownBlock<'a>
Available on crate feature
serialize
only.Auto Trait Implementations
impl<'a> RefUnwindSafe for UnknownBlock<'a>
impl<'a> Send for UnknownBlock<'a>
impl<'a> Sync for UnknownBlock<'a>
impl<'a> Unpin for UnknownBlock<'a>
impl<'a> UnwindSafe for UnknownBlock<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more