#[repr(C)]pub struct InterfaceDescriptionBlockHeader {
pub block_type: U32,
pub block_total_length: U32,
pub link_type: U16,
pub reserved: U16,
pub snap_len: U32,
}Expand description
An Interface Description Block structure for serialization as defined in pcapng RFC Section 4.2.
Fields§
§block_type: U32Block type code.
block_total_length: U32Total length of the block.
link_type: U16Link type.
reserved: U16Reserved.
snap_len: U32Maximum number of bytes from the start of a packet that gets captured.
Implementations§
Trait Implementations§
Source§impl IntoBytes for InterfaceDescriptionBlockHeader
impl IntoBytes for InterfaceDescriptionBlockHeader
impl Immutable for InterfaceDescriptionBlockHeader
Auto Trait Implementations§
impl Freeze for InterfaceDescriptionBlockHeader
impl RefUnwindSafe for InterfaceDescriptionBlockHeader
impl Send for InterfaceDescriptionBlockHeader
impl Sync for InterfaceDescriptionBlockHeader
impl Unpin for InterfaceDescriptionBlockHeader
impl UnsafeUnpin for InterfaceDescriptionBlockHeader
impl UnwindSafe for InterfaceDescriptionBlockHeader
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more