#[non_exhaustive]pub enum DisconnectionMethod {
Departed,
Booted,
Failed,
Busy,
}Expand description
How an endpoint left the conference (RFC 4575 Section 5.5).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Departed
Endpoint-initiated BYE.
Booted
Focus rejected or removed the endpoint.
Failed
Connection attempt failed.
Busy
Endpoint returned busy (486).
Trait Implementations§
Source§impl Clone for DisconnectionMethod
impl Clone for DisconnectionMethod
Source§fn clone(&self) -> DisconnectionMethod
fn clone(&self) -> DisconnectionMethod
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 DisconnectionMethod
impl Debug for DisconnectionMethod
Source§impl<'de> Deserialize<'de> for DisconnectionMethod
impl<'de> Deserialize<'de> for DisconnectionMethod
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 DisconnectionMethod
impl Display for DisconnectionMethod
Source§impl FromStr for DisconnectionMethod
impl FromStr for DisconnectionMethod
Source§impl Hash for DisconnectionMethod
impl Hash for DisconnectionMethod
Source§impl PartialEq for DisconnectionMethod
impl PartialEq for DisconnectionMethod
Source§impl Serialize for DisconnectionMethod
impl Serialize for DisconnectionMethod
impl Copy for DisconnectionMethod
impl Eq for DisconnectionMethod
impl StructuralPartialEq for DisconnectionMethod
Auto Trait Implementations§
impl Freeze for DisconnectionMethod
impl RefUnwindSafe for DisconnectionMethod
impl Send for DisconnectionMethod
impl Sync for DisconnectionMethod
impl Unpin for DisconnectionMethod
impl UnsafeUnpin for DisconnectionMethod
impl UnwindSafe for DisconnectionMethod
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> 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.