pub struct DhcpLeaseOptions { /* private fields */ }Expand description
The received options of a lease. See DhcpLease::options.
Options that don’t fit in the buffer are dropped. The buffer size is
DHCP_OPTIONS_BUF_SIZE.
Implementations§
Trait Implementations§
Source§impl Clone for DhcpLeaseOptions
impl Clone for DhcpLeaseOptions
Source§fn clone(&self) -> DhcpLeaseOptions
fn clone(&self) -> DhcpLeaseOptions
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 moreSource§impl Debug for DhcpLeaseOptions
Available on crate feature dhcpv4-options only.
impl Debug for DhcpLeaseOptions
Available on crate feature
dhcpv4-options only.impl Eq for DhcpLeaseOptions
Available on crate feature
dhcpv4-options only.Auto Trait Implementations§
impl Freeze for DhcpLeaseOptions
impl RefUnwindSafe for DhcpLeaseOptions
impl Send for DhcpLeaseOptions
impl Sync for DhcpLeaseOptions
impl Unpin for DhcpLeaseOptions
impl UnsafeUnpin for DhcpLeaseOptions
impl UnwindSafe for DhcpLeaseOptions
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