pub struct Host {
pub address: IpAddr,
pub name: String,
pub aliases: Vec<String>,
}Expand description
Represents a single host within a host table.
Fields§
§address: IpAddrHost address
name: StringCanonical host name
aliases: Vec<String>Host aliases
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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