Enum shadow_rs::network::packet::PacketStatus
source · #[repr(i32)]pub enum PacketStatus {
Show 22 variants
SndCreated = 2,
SndTcpEnqueueThrottled = 4,
SndTcpEnqueueRetransmit = 8,
SndTcpDequeueRetransmit = 16,
SndTcpRetransmitted = 32,
SndSocketBuffered = 64,
SndInterfaceSent = 128,
InetSent = 256,
InetDropped = 512,
RouterEnqueued = 1_024,
RouterDequeued = 2_048,
RouterDropped = 4_096,
RcvInterfaceReceived = 8_192,
RcvInterfaceDropped = 16_384,
RcvSocketProcessed = 32_768,
RcvSocketDropped = 65_536,
RcvTcpEnqueueUnordered = 131_072,
RcvSocketBuffered = 262_144,
RcvSocketDelivered = 524_288,
Destroyed = 1_048_576,
RelayCached = 2_097_152,
RelayForwarded = 4_194_304,
}
Variants§
SndCreated = 2
SndTcpEnqueueThrottled = 4
SndTcpEnqueueRetransmit = 8
SndTcpDequeueRetransmit = 16
SndTcpRetransmitted = 32
SndSocketBuffered = 64
SndInterfaceSent = 128
InetSent = 256
InetDropped = 512
RouterEnqueued = 1_024
RouterDequeued = 2_048
RouterDropped = 4_096
RcvInterfaceReceived = 8_192
RcvInterfaceDropped = 16_384
RcvSocketProcessed = 32_768
RcvSocketDropped = 65_536
RcvTcpEnqueueUnordered = 131_072
RcvSocketBuffered = 262_144
RcvSocketDelivered = 524_288
Destroyed = 1_048_576
RelayCached = 2_097_152
RelayForwarded = 4_194_304
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> 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