pub enum BindScope {
Loopback,
AllInterfaces,
Specific,
}Variants§
Loopback
AllInterfaces
0.0.0.0 / :: — reachable from every network the machine is on.
Specific
One specific non-loopback address.
Implementations§
Trait Implementations§
impl Copy for BindScope
Source§impl<'de> Deserialize<'de> for BindScope
impl<'de> Deserialize<'de> for BindScope
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
impl Eq for BindScope
Source§impl Ord for BindScope
impl Ord for BindScope
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for BindScope
impl PartialOrd for BindScope
impl StructuralPartialEq for BindScope
Auto Trait Implementations§
impl Forget for BindScope
impl Freeze for BindScope
impl Move for BindScope
impl RefUnwindSafe for BindScope
impl Send for BindScope
impl Sync for BindScope
impl Unpin for BindScope
impl UnsafeUnpin for BindScope
impl UnwindSafe for BindScope
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