pub struct EstIntroExtType(/* private fields */);
Available on crate feature
hs
only.Expand description
The introduction protocol extension type.
Documented in https://spec.torproject.org/rend-spec/introduction-protocol.html#EST_INTRO
Implementations§
source§impl EstIntroExtType
impl EstIntroExtType
sourcepub const DOS_PARAMS: EstIntroExtType = _
pub const DOS_PARAMS: EstIntroExtType = _
The extension used to send DoS parameters
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 EstIntroExtType
impl Clone for EstIntroExtType
source§fn clone(&self) -> EstIntroExtType
fn clone(&self) -> EstIntroExtType
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 EstIntroExtType
impl Debug for EstIntroExtType
source§impl Display for EstIntroExtType
impl Display for EstIntroExtType
source§impl From<EstIntroExtType> for u8
impl From<EstIntroExtType> for u8
source§fn from(val: EstIntroExtType) -> u8
fn from(val: EstIntroExtType) -> u8
Converts to this type from the input type.
source§impl From<u8> for EstIntroExtType
impl From<u8> for EstIntroExtType
source§fn from(num: u8) -> EstIntroExtType
fn from(num: u8) -> EstIntroExtType
Converts to this type from the input type.
source§impl Ord for EstIntroExtType
impl Ord for EstIntroExtType
source§fn cmp(&self, other: &EstIntroExtType) -> Ordering
fn cmp(&self, other: &EstIntroExtType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EstIntroExtType
impl PartialEq for EstIntroExtType
source§fn eq(&self, other: &EstIntroExtType) -> bool
fn eq(&self, other: &EstIntroExtType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EstIntroExtType
impl PartialOrd for EstIntroExtType
source§fn partial_cmp(&self, other: &EstIntroExtType) -> Option<Ordering>
fn partial_cmp(&self, other: &EstIntroExtType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EstIntroExtType
impl Eq for EstIntroExtType
impl StructuralPartialEq for EstIntroExtType
Auto Trait Implementations§
impl Freeze for EstIntroExtType
impl RefUnwindSafe for EstIntroExtType
impl Send for EstIntroExtType
impl Sync for EstIntroExtType
impl Unpin for EstIntroExtType
impl UnwindSafe for EstIntroExtType
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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