pub struct HostKind(/* private fields */);Expand description
Which sort of host a destination is, as the operator configured it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostKind
impl<'de> Deserialize<'de> for HostKind
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 HostKind
Source§impl Ord for HostKind
impl Ord for HostKind
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 HostKind
impl PartialOrd for HostKind
impl StructuralPartialEq for HostKind
Auto Trait Implementations§
impl Freeze for HostKind
impl RefUnwindSafe for HostKind
impl Send for HostKind
impl Sync for HostKind
impl Unpin for HostKind
impl UnsafeUnpin for HostKind
impl UnwindSafe for HostKind
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