pub enum ProfileConnectionStatus {
Disconnected,
RequestPending,
Connected,
}Variants§
Implementations§
Source§impl ProfileConnectionStatus
impl ProfileConnectionStatus
pub fn is_connected(&self) -> bool
Trait Implementations§
Source§impl Clone for ProfileConnectionStatus
impl Clone for ProfileConnectionStatus
Source§fn clone(&self) -> ProfileConnectionStatus
fn clone(&self) -> ProfileConnectionStatus
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 ProfileConnectionStatus
impl Debug for ProfileConnectionStatus
Source§impl Default for ProfileConnectionStatus
impl Default for ProfileConnectionStatus
Source§fn default() -> ProfileConnectionStatus
fn default() -> ProfileConnectionStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileConnectionStatus
impl<'de> Deserialize<'de> for ProfileConnectionStatus
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 ProfileConnectionStatus
impl Display for ProfileConnectionStatus
Source§impl PartialEq for ProfileConnectionStatus
impl PartialEq for ProfileConnectionStatus
Source§impl Serialize for ProfileConnectionStatus
impl Serialize for ProfileConnectionStatus
impl Copy for ProfileConnectionStatus
impl Eq for ProfileConnectionStatus
impl StructuralPartialEq for ProfileConnectionStatus
Auto Trait Implementations§
impl Freeze for ProfileConnectionStatus
impl RefUnwindSafe for ProfileConnectionStatus
impl Send for ProfileConnectionStatus
impl Sync for ProfileConnectionStatus
impl Unpin for ProfileConnectionStatus
impl UnsafeUnpin for ProfileConnectionStatus
impl UnwindSafe for ProfileConnectionStatus
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