Enum ya_runtime_api::server::proto::NetworkInterface
source · #[repr(i32)]
pub enum NetworkInterface {
Vpn,
Inet,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for NetworkInterface
impl Clone for NetworkInterface
source§fn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
Returns a copy 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 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<NetworkInterface> for NetworkInterface
impl PartialEq<NetworkInterface> for NetworkInterface
source§fn eq(&self, other: &NetworkInterface) -> bool
fn eq(&self, other: &NetworkInterface) -> bool
source§impl PartialOrd<NetworkInterface> for NetworkInterface
impl PartialOrd<NetworkInterface> for NetworkInterface
source§fn partial_cmp(&self, other: &NetworkInterface) -> Option<Ordering>
fn partial_cmp(&self, other: &NetworkInterface) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more