pub struct ServerInfo {
pub address: Ipv4Address,
pub identifier: Ipv4Address,
}
Expand description
Information on how to reach a DHCP server.
Fields§
§address: Ipv4Address
IP address to use as destination in outgoing packets
identifier: Ipv4Address
Server identifier to use in outgoing packets. Usually equal to server_address, but may differ in some situations (eg DHCP relays)
Trait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Source§fn clone(&self) -> ServerInfo
fn clone(&self) -> ServerInfo
Returns a copy of the value. Read more
1.0.0 · 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 ServerInfo
impl Debug for ServerInfo
Source§impl PartialEq for ServerInfo
impl PartialEq for ServerInfo
impl Copy for ServerInfo
impl Eq for ServerInfo
impl StructuralPartialEq for ServerInfo
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnwindSafe for ServerInfo
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