pub struct ObservedHost(/* private fields */);Expand description
A validated, canonical ASCII DNS host or public IP literal suitable for diagnostics.
Implementations§
Trait Implementations§
Source§impl Clone for ObservedHost
impl Clone for ObservedHost
Source§impl Debug for ObservedHost
impl Debug for ObservedHost
Source§impl Display for ObservedHost
impl Display for ObservedHost
impl Eq for ObservedHost
Source§impl Hash for ObservedHost
impl Hash for ObservedHost
Source§impl Ord for ObservedHost
impl Ord for ObservedHost
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 PartialEq for ObservedHost
impl PartialEq for ObservedHost
Source§impl PartialOrd for ObservedHost
impl PartialOrd for ObservedHost
impl StructuralPartialEq for ObservedHost
Auto Trait Implementations§
impl Freeze for ObservedHost
impl RefUnwindSafe for ObservedHost
impl Send for ObservedHost
impl Sync for ObservedHost
impl Unpin for ObservedHost
impl UnsafeUnpin for ObservedHost
impl UnwindSafe for ObservedHost
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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