[−][src]Struct discv5::packet::AuthHeader
The Authentication header.
Fields
auth_tag: AuthTag
Authentication nonce.
id_nonce: Nonce
The nonce of the associated WHOAREYOU packet.
auth_scheme_name: &'static str
The authentication scheme.
ephemeral_pubkey: Vec<u8>
The public key as a raw encoded bytes.
auth_response: Vec<u8>
Authentication response.
Implementations
impl AuthHeader
[src]
pub fn new(
auth_tag: AuthTag,
id_nonce: Nonce,
ephemeral_pubkey: Vec<u8>,
resp: Vec<u8>
) -> Self
[src]
auth_tag: AuthTag,
id_nonce: Nonce,
ephemeral_pubkey: Vec<u8>,
resp: Vec<u8>
) -> Self
Trait Implementations
impl Clone for AuthHeader
[src]
fn clone(&self) -> AuthHeader
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AuthHeader
[src]
impl Decodable for AuthHeader
[src]
fn decode(rlp: &Rlp) -> Result<Self, DecoderError>
[src]
impl Encodable for AuthHeader
[src]
impl PartialEq<AuthHeader> for AuthHeader
[src]
fn eq(&self, other: &AuthHeader) -> bool
[src]
fn ne(&self, other: &AuthHeader) -> bool
[src]
impl StructuralPartialEq for AuthHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthHeader
impl Send for AuthHeader
impl Sync for AuthHeader
impl Unpin for AuthHeader
impl UnwindSafe for AuthHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,