Struct DhcpServerInfo
pub struct DhcpServerInfo {
pub address: Ipv4Addr,
pub identifier: Ipv4Addr,
}Expand description
How to reach a DHCP server.
Fields§
§address: Ipv4AddrThe address to send packets to.
identifier: Ipv4AddrThe server identifier to put in packets. Usually the same as address,
but can differ, for example behind a DHCP relay.
Trait Implementations§
§impl Clone for DhcpServerInfo
impl Clone for DhcpServerInfo
§fn clone(&self) -> DhcpServerInfo
fn clone(&self) -> DhcpServerInfo
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 moreimpl Copy for DhcpServerInfo
§impl Debug for DhcpServerInfo
impl Debug for DhcpServerInfo
impl Eq for DhcpServerInfo
§impl Format for DhcpServerInfo
impl Format for DhcpServerInfo
§impl PartialEq for DhcpServerInfo
impl PartialEq for DhcpServerInfo
impl StructuralPartialEq for DhcpServerInfo
Auto Trait Implementations§
impl Freeze for DhcpServerInfo
impl RefUnwindSafe for DhcpServerInfo
impl Send for DhcpServerInfo
impl Sync for DhcpServerInfo
impl Unpin for DhcpServerInfo
impl UnsafeUnpin for DhcpServerInfo
impl UnwindSafe for DhcpServerInfo
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