pub enum NetworkConnectionKind {
Wifi,
Cable,
Spacenet,
}
Variants§
Trait Implementations§
Source§impl Clone for NetworkConnectionKind
impl Clone for NetworkConnectionKind
Source§fn clone(&self) -> NetworkConnectionKind
fn clone(&self) -> NetworkConnectionKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NetworkConnectionKind
impl Debug for NetworkConnectionKind
Source§impl<'de> Deserialize<'de> for NetworkConnectionKind
impl<'de> Deserialize<'de> for NetworkConnectionKind
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 PartialEq for NetworkConnectionKind
impl PartialEq for NetworkConnectionKind
Source§impl Serialize for NetworkConnectionKind
impl Serialize for NetworkConnectionKind
impl Eq for NetworkConnectionKind
impl StructuralPartialEq for NetworkConnectionKind
Auto Trait Implementations§
impl Freeze for NetworkConnectionKind
impl RefUnwindSafe for NetworkConnectionKind
impl Send for NetworkConnectionKind
impl Sync for NetworkConnectionKind
impl Unpin for NetworkConnectionKind
impl UnwindSafe for NetworkConnectionKind
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