pub struct ClientIdentifier { /* private fields */ }
Expand description
An opaque identifier which uniquely identifies a DHCP client to a DHCP server.
Trait Implementations§
Source§impl Clone for ClientIdentifier
impl Clone for ClientIdentifier
Source§fn clone(&self) -> ClientIdentifier
fn clone(&self) -> ClientIdentifier
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 ClientIdentifier
impl Debug for ClientIdentifier
Source§impl Display for ClientIdentifier
impl Display for ClientIdentifier
Source§impl From<&Message> for ClientIdentifier
impl From<&Message> for ClientIdentifier
Source§fn from(msg: &Message) -> ClientIdentifier
fn from(msg: &Message) -> ClientIdentifier
Returns the opaque client identifier associated with the argument message.
Typically, a message will contain a DhcpOption::ClientIdentifier
which stores the
associated opaque client identifier. In the absence of this option, an identifier
will be constructed from the chaddr
field of the message.
Source§impl From<Mac> for ClientIdentifier
impl From<Mac> for ClientIdentifier
Source§impl FromStr for ClientIdentifier
impl FromStr for ClientIdentifier
Source§impl Hash for ClientIdentifier
impl Hash for ClientIdentifier
Source§impl PartialEq for ClientIdentifier
impl PartialEq for ClientIdentifier
impl Eq for ClientIdentifier
impl StructuralPartialEq for ClientIdentifier
Auto Trait Implementations§
impl Freeze for ClientIdentifier
impl RefUnwindSafe for ClientIdentifier
impl Send for ClientIdentifier
impl Sync for ClientIdentifier
impl Unpin for ClientIdentifier
impl UnwindSafe for ClientIdentifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)