#[repr(C)]pub struct EnhancedPacketBlockHeader {
pub block_type: U32,
pub block_total_length: U32,
pub interface_id: U32,
pub timestamp_upper: U32,
pub timestamp_lower: U32,
pub captured_packet_length: U32,
pub original_packet_length: U32,
}Expand description
An Enhanced Packet Block structure for serialization as defined in pcapng RFC Section 4.3.
Fields§
§block_type: U32Block type code.
block_total_length: U32Total length of the block.
interface_id: U32Interface ID.
timestamp_upper: U32Upper 32 bits of timestamp.
timestamp_lower: U32Lower 32 bits of timestamp.
captured_packet_length: U32Captured packet length.
original_packet_length: U32Original packet length.
Implementations§
Trait Implementations§
Source§impl IntoBytes for EnhancedPacketBlockHeader
impl IntoBytes for EnhancedPacketBlockHeader
impl Immutable for EnhancedPacketBlockHeader
Auto Trait Implementations§
impl Freeze for EnhancedPacketBlockHeader
impl RefUnwindSafe for EnhancedPacketBlockHeader
impl Send for EnhancedPacketBlockHeader
impl Sync for EnhancedPacketBlockHeader
impl Unpin for EnhancedPacketBlockHeader
impl UnsafeUnpin for EnhancedPacketBlockHeader
impl UnwindSafe for EnhancedPacketBlockHeader
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