pub enum PacketStatus {
Show 22 variants
    SndCreated,
    SndTcpEnqueueThrottled,
    SndTcpEnqueueRetransmit,
    SndTcpDequeueRetransmit,
    SndTcpRetransmitted,
    SndSocketBuffered,
    SndInterfaceSent,
    InetSent,
    InetDropped,
    RouterEnqueued,
    RouterDequeued,
    RouterDropped,
    RcvInterfaceReceived,
    RcvInterfaceDropped,
    RcvSocketProcessed,
    RcvSocketDropped,
    RcvTcpEnqueueUnordered,
    RcvSocketBuffered,
    RcvSocketDelivered,
    Destroyed,
    RelayCached,
    RelayForwarded,
}Expand description
Represents different checkpoints that a packet reaches as it is being moved around in Shadow.
Variants§
SndCreated
SndTcpEnqueueThrottled
SndTcpEnqueueRetransmit
SndTcpDequeueRetransmit
SndTcpRetransmitted
SndSocketBuffered
SndInterfaceSent
InetSent
InetDropped
RouterEnqueued
RouterDequeued
RouterDropped
RcvInterfaceReceived
RcvInterfaceDropped
RcvSocketProcessed
RcvSocketDropped
RcvTcpEnqueueUnordered
RcvSocketBuffered
RcvSocketDelivered
Destroyed
RelayCached
RelayForwarded
Trait Implementations§
Source§impl Clone for PacketStatus
 
impl Clone for PacketStatus
Source§fn clone(&self) -> PacketStatus
 
fn clone(&self) -> PacketStatus
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 PacketStatus
 
impl Debug for PacketStatus
Source§impl From<u32> for PacketStatus
 
impl From<u32> for PacketStatus
Source§fn from(legacy_status: PacketDeliveryStatusFlags) -> Self
 
fn from(legacy_status: PacketDeliveryStatusFlags) -> Self
Converts to this type from the input type.
impl Copy for PacketStatus
Auto Trait Implementations§
impl Freeze for PacketStatus
impl RefUnwindSafe for PacketStatus
impl Send for PacketStatus
impl Sync for PacketStatus
impl Unpin for PacketStatus
impl UnwindSafe for PacketStatus
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
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