Struct tor_cell::relaycell::hs::AuthKeyType
source · pub struct AuthKeyType(/* private fields */);
Available on crate feature
hs
only.Expand description
The type of the introduction point auth key
Implementations§
source§impl AuthKeyType
impl AuthKeyType
sourcepub const ED25519_SHA3_256: AuthKeyType = _
pub const ED25519_SHA3_256: AuthKeyType = _
Ed25519; SHA3-256
sourcepub fn is_recognized(self) -> bool
pub fn is_recognized(self) -> bool
Return true if this value is one that we recognize.
Trait Implementations§
source§impl Clone for AuthKeyType
impl Clone for AuthKeyType
source§fn clone(&self) -> AuthKeyType
fn clone(&self) -> AuthKeyType
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 AuthKeyType
impl Debug for AuthKeyType
source§impl Display for AuthKeyType
impl Display for AuthKeyType
source§impl From<AuthKeyType> for u8
impl From<AuthKeyType> for u8
source§fn from(val: AuthKeyType) -> u8
fn from(val: AuthKeyType) -> u8
Converts to this type from the input type.
source§impl From<u8> for AuthKeyType
impl From<u8> for AuthKeyType
source§fn from(num: u8) -> AuthKeyType
fn from(num: u8) -> AuthKeyType
Converts to this type from the input type.
source§impl PartialEq for AuthKeyType
impl PartialEq for AuthKeyType
source§fn eq(&self, other: &AuthKeyType) -> bool
fn eq(&self, other: &AuthKeyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AuthKeyType
impl Eq for AuthKeyType
impl StructuralPartialEq for AuthKeyType
Auto Trait Implementations§
impl Freeze for AuthKeyType
impl RefUnwindSafe for AuthKeyType
impl Send for AuthKeyType
impl Sync for AuthKeyType
impl Unpin for AuthKeyType
impl UnwindSafe for AuthKeyType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more