pub struct DHCID<'a> {
pub identifier: u16,
pub digest_type: u8,
pub digest: Cow<'a, [u8]>,
}
Expand description
A DHCID record see rfc4701
Fields§
§identifier: u16
Identifier type code
digest_type: u8
Digest type code
digest: Cow<'a, [u8]>
Digest (length depends on digest type)
Implementations§
Trait Implementations§
impl<'a> Eq for DHCID<'a>
impl<'a> StructuralPartialEq for DHCID<'a>
Auto Trait Implementations§
impl<'a> Freeze for DHCID<'a>
impl<'a> RefUnwindSafe for DHCID<'a>
impl<'a> Send for DHCID<'a>
impl<'a> Sync for DHCID<'a>
impl<'a> Unpin for DHCID<'a>
impl<'a> UnwindSafe for DHCID<'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