pub enum Disruption {
None,
Brief,
SessionLoss,
DataInterruption,
ConnectivityLoss,
}Expand description
Ordered by how much it costs the user; §11 compares with >=.
Variants§
Trait Implementations§
Source§impl Clone for Disruption
impl Clone for Disruption
Source§fn clone(&self) -> Disruption
fn clone(&self) -> Disruption
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 Disruption
impl Debug for Disruption
Source§impl<'de> Deserialize<'de> for Disruption
impl<'de> Deserialize<'de> for Disruption
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<Disruption> for Disruptions
impl From<Disruption> for Disruptions
Source§fn from(d: Disruption) -> Disruptions
fn from(d: Disruption) -> Disruptions
Converts to this type from the input type.
Source§impl Hash for Disruption
impl Hash for Disruption
Source§impl Ord for Disruption
impl Ord for Disruption
Source§fn cmp(&self, other: &Disruption) -> Ordering
fn cmp(&self, other: &Disruption) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Disruption
impl PartialEq for Disruption
Source§impl PartialOrd for Disruption
impl PartialOrd for Disruption
Source§impl Serialize for Disruption
impl Serialize for Disruption
impl Copy for Disruption
impl Eq for Disruption
impl StructuralPartialEq for Disruption
Auto Trait Implementations§
impl Freeze for Disruption
impl RefUnwindSafe for Disruption
impl Send for Disruption
impl Sync for Disruption
impl Unpin for Disruption
impl UnsafeUnpin for Disruption
impl UnwindSafe for Disruption
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