pub struct DhcpServerInfo {
pub address: Ipv4Address,
pub identifier: Ipv4Address,
}Expand description
How to reach a DHCP server.
Fields§
§address: Ipv4AddressThe address to send packets to.
identifier: Ipv4AddressThe server identifier to put in packets. Usually the same as address,
but can differ, for example behind a DHCP relay.
Trait Implementations§
Source§impl Clone for DhcpServerInfo
impl Clone for DhcpServerInfo
Source§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
Source§impl Debug for DhcpServerInfo
impl Debug for DhcpServerInfo
impl Eq for DhcpServerInfo
Source§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