pub enum ConnectionType {
Wifi,
Cellular,
Ethernet,
Bluetooth,
Unknown,
None,
}Expand description
Active network interface connection type.
Variants§
Trait Implementations§
Source§impl Clone for ConnectionType
impl Clone for ConnectionType
impl Copy for ConnectionType
Source§impl Debug for ConnectionType
impl Debug for ConnectionType
Source§impl Default for ConnectionType
impl Default for ConnectionType
impl Eq for ConnectionType
Source§impl PartialEq for ConnectionType
impl PartialEq for ConnectionType
impl StructuralPartialEq for ConnectionType
Auto Trait Implementations§
impl Forget for ConnectionType
impl Freeze for ConnectionType
impl Move for ConnectionType
impl RefUnwindSafe for ConnectionType
impl Send for ConnectionType
impl Sync for ConnectionType
impl Unpin for ConnectionType
impl UnsafeUnpin for ConnectionType
impl UnwindSafe for ConnectionType
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