pub struct HostEntry {
pub ip: IpAddr,
pub names: Vec<String>,
}
Expand description
A struct representing a line from /etc/hosts that has a host on it
Fields§
§ip: IpAddr
§names: Vec<String>
Trait Implementations§
impl StructuralPartialEq for HostEntry
Auto Trait Implementations§
impl Freeze for HostEntry
impl RefUnwindSafe for HostEntry
impl Send for HostEntry
impl Sync for HostEntry
impl Unpin for HostEntry
impl UnwindSafe for HostEntry
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