pub struct Captured {
pub length: usize,
pub original: usize,
pub direction: Direction,
pub addressed: Option<Addressed>,
pub time: Duration,
pub clock: Clock,
}Expand description
A frame a Capture took.
Fields§
§length: usizeOctets of the frame written to the buffer, from its destination address on: no more than the capture’s snap length, or the buffer.
original: usizeThe frame’s whole length, its VLAN tag included.
direction: Direction§addressed: Option<Addressed>None for an outbound frame.
time: DurationWhen the frame was seen, since the epoch of the clock that saw it.
clock: ClockTrait Implementations§
impl Copy for Captured
impl Eq for Captured
impl StructuralPartialEq for Captured
Auto Trait Implementations§
impl Forget for Captured
impl Freeze for Captured
impl Move for Captured
impl RefUnwindSafe for Captured
impl Send for Captured
impl Sync for Captured
impl Unpin for Captured
impl UnsafeUnpin for Captured
impl UnwindSafe for Captured
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