pub enum NetworkConnectionStatus {
WaitingForApproval,
WaitingForPeerApproval,
Approved,
Cancelled,
Failed,
Rejected,
RejectedByPeer,
Removed,
RemovedByPeer,
}
Expand description
Variants§
WaitingForApproval
WaitingForPeerApproval
Approved
Cancelled
Failed
Rejected
RejectedByPeer
Removed
RemovedByPeer
Trait Implementations§
Source§impl Clone for NetworkConnectionStatus
impl Clone for NetworkConnectionStatus
Source§fn clone(&self) -> NetworkConnectionStatus
fn clone(&self) -> NetworkConnectionStatus
Returns a copy 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 NetworkConnectionStatus
impl Debug for NetworkConnectionStatus
Source§impl Default for NetworkConnectionStatus
impl Default for NetworkConnectionStatus
Source§fn default() -> NetworkConnectionStatus
fn default() -> NetworkConnectionStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkConnectionStatus
impl<'de> Deserialize<'de> for NetworkConnectionStatus
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 Display for NetworkConnectionStatus
impl Display for NetworkConnectionStatus
Source§impl Hash for NetworkConnectionStatus
impl Hash for NetworkConnectionStatus
Source§impl Ord for NetworkConnectionStatus
impl Ord for NetworkConnectionStatus
Source§fn cmp(&self, other: &NetworkConnectionStatus) -> Ordering
fn cmp(&self, other: &NetworkConnectionStatus) -> 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 NetworkConnectionStatus
impl PartialEq for NetworkConnectionStatus
Source§impl PartialOrd for NetworkConnectionStatus
impl PartialOrd for NetworkConnectionStatus
Source§impl Serialize for NetworkConnectionStatus
impl Serialize for NetworkConnectionStatus
impl Copy for NetworkConnectionStatus
impl Eq for NetworkConnectionStatus
impl StructuralPartialEq for NetworkConnectionStatus
Auto Trait Implementations§
impl Freeze for NetworkConnectionStatus
impl RefUnwindSafe for NetworkConnectionStatus
impl Send for NetworkConnectionStatus
impl Sync for NetworkConnectionStatus
impl Unpin for NetworkConnectionStatus
impl UnwindSafe for NetworkConnectionStatus
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.