pub enum NetTraceDropReason {
NoRoute,
PacketLoss,
Partitioned,
BufferOverflow,
}Expand description
Serializable version of DropReason.
Variants§
NoRoute
No route to destination.
PacketLoss
Random packet loss.
Partitioned
Active network partition between source and destination.
BufferOverflow
A per-link buffer on the path was full at admission time.
Trait Implementations§
Source§impl Clone for NetTraceDropReason
impl Clone for NetTraceDropReason
Source§fn clone(&self) -> NetTraceDropReason
fn clone(&self) -> NetTraceDropReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetTraceDropReason
impl Debug for NetTraceDropReason
Source§impl<'de> Deserialize<'de> for NetTraceDropReason
impl<'de> Deserialize<'de> for NetTraceDropReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DropReason> for NetTraceDropReason
impl From<DropReason> for NetTraceDropReason
Source§fn from(reason: DropReason) -> Self
fn from(reason: DropReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NetTraceDropReason
impl PartialEq for NetTraceDropReason
Source§fn eq(&self, other: &NetTraceDropReason) -> bool
fn eq(&self, other: &NetTraceDropReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NetTraceDropReason
impl Serialize for NetTraceDropReason
impl Copy for NetTraceDropReason
impl Eq for NetTraceDropReason
impl StructuralPartialEq for NetTraceDropReason
Auto Trait Implementations§
impl Freeze for NetTraceDropReason
impl RefUnwindSafe for NetTraceDropReason
impl Send for NetTraceDropReason
impl Sync for NetTraceDropReason
impl Unpin for NetTraceDropReason
impl UnsafeUnpin for NetTraceDropReason
impl UnwindSafe for NetTraceDropReason
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