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 · Source§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§
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