pub struct DhcpOption<'a> {
pub kind: u8,
pub data: &'a [u8],
}
Expand description
A representation of a single DHCP option.
Fields§
§kind: u8
§data: &'a [u8]
Trait Implementations§
Source§impl<'a> Clone for DhcpOption<'a>
impl<'a> Clone for DhcpOption<'a>
Source§fn clone(&self) -> DhcpOption<'a>
fn clone(&self) -> DhcpOption<'a>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for DhcpOption<'a>
impl<'a> Debug for DhcpOption<'a>
Source§impl<'a> PartialEq for DhcpOption<'a>
impl<'a> PartialEq for DhcpOption<'a>
impl<'a> Copy for DhcpOption<'a>
impl<'a> Eq for DhcpOption<'a>
impl<'a> StructuralPartialEq for DhcpOption<'a>
Auto Trait Implementations§
impl<'a> Freeze for DhcpOption<'a>
impl<'a> RefUnwindSafe for DhcpOption<'a>
impl<'a> Send for DhcpOption<'a>
impl<'a> Sync for DhcpOption<'a>
impl<'a> Unpin for DhcpOption<'a>
impl<'a> UnwindSafe for DhcpOption<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)