Struct dhcproto::v6::Authentication
source · pub struct Authentication {
pub proto: u8,
pub algo: u8,
pub rdm: u8,
pub replay_detection: u64,
pub info: Vec<u8>,
}
Expand description
Authentication
Fields§
§proto: u8
§algo: u8
§rdm: u8
§replay_detection: u64
§info: Vec<u8>
Trait Implementations§
source§impl Clone for Authentication
impl Clone for Authentication
source§fn clone(&self) -> Authentication
fn clone(&self) -> Authentication
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 Authentication
impl Debug for Authentication
source§impl Decodable for Authentication
impl Decodable for Authentication
source§fn decode(decoder: &mut Decoder<'_>) -> DecodeResult<Self>
fn decode(decoder: &mut Decoder<'_>) -> DecodeResult<Self>
Read the type from the stream
source§fn from_bytes(bytes: &[u8]) -> DecodeResult<Self>
fn from_bytes(bytes: &[u8]) -> DecodeResult<Self>
Returns the object in binary form
source§impl Hash for Authentication
impl Hash for Authentication
source§impl PartialEq for Authentication
impl PartialEq for Authentication
source§fn eq(&self, other: &Authentication) -> bool
fn eq(&self, other: &Authentication) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Authentication
impl StructuralEq for Authentication
impl StructuralPartialEq for Authentication
Auto Trait Implementations§
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnwindSafe for Authentication
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