pub struct HostAddress { /* private fields */ }Expand description
A host address classified without normalizing its authored spelling.
Implementations§
Source§impl HostAddress
impl HostAddress
Sourcepub const fn kind(&self) -> HostAddressKind
pub const fn kind(&self) -> HostAddressKind
Returns the non-destructive address classification.
Sourcepub const fn is_host_gateway(&self) -> bool
pub const fn is_host_gateway(&self) -> bool
Reports whether this is the implementation token host-gateway.
Trait Implementations§
Source§impl Clone for HostAddress
impl Clone for HostAddress
Source§fn clone(&self) -> HostAddress
fn clone(&self) -> HostAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HostAddress
impl Debug for HostAddress
impl Eq for HostAddress
Source§impl PartialEq for HostAddress
impl PartialEq for HostAddress
impl StructuralPartialEq for HostAddress
Auto Trait Implementations§
impl Freeze for HostAddress
impl RefUnwindSafe for HostAddress
impl Send for HostAddress
impl Sync for HostAddress
impl Unpin for HostAddress
impl UnsafeUnpin for HostAddress
impl UnwindSafe for HostAddress
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