#[repr(i32)]pub enum NetworkInterface {
Vpn = 0,
Inet = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NetworkInterface
impl Clone for NetworkInterface
Source§fn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
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 NetworkInterface
impl Debug for NetworkInterface
Source§impl Default for NetworkInterface
impl Default for NetworkInterface
Source§fn default() -> NetworkInterface
fn default() -> NetworkInterface
Returns the “default value” for a type. Read more
Source§impl From<NetworkInterface> for i32
impl From<NetworkInterface> for i32
Source§fn from(value: NetworkInterface) -> i32
fn from(value: NetworkInterface) -> i32
Converts to this type from the input type.
Source§impl Hash for NetworkInterface
impl Hash for NetworkInterface
Source§impl Ord for NetworkInterface
impl Ord for NetworkInterface
Source§fn cmp(&self, other: &NetworkInterface) -> Ordering
fn cmp(&self, other: &NetworkInterface) -> 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 NetworkInterface
impl PartialEq for NetworkInterface
Source§impl PartialOrd for NetworkInterface
impl PartialOrd for NetworkInterface
impl Copy for NetworkInterface
impl Eq for NetworkInterface
impl StructuralPartialEq for NetworkInterface
Auto Trait Implementations§
impl Freeze for NetworkInterface
impl RefUnwindSafe for NetworkInterface
impl Send for NetworkInterface
impl Sync for NetworkInterface
impl Unpin for NetworkInterface
impl UnwindSafe for NetworkInterface
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