Struct tor_protover::ProtoKind
source · pub struct ProtoKind(/* private fields */);
Expand description
A recognized subprotocol.
These names are kept in sync with the names used in consensus documents; the values are kept in sync with the values in the cbor document format in the walking onions proposal.
For the full semantics of each subprotocol, see tor-spec.txt.
Implementations§
Trait Implementations§
source§impl Ord for ProtoKind
impl Ord for ProtoKind
source§impl PartialEq for ProtoKind
impl PartialEq for ProtoKind
source§impl PartialOrd for ProtoKind
impl PartialOrd for ProtoKind
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 ProtoKind
impl Eq for ProtoKind
impl StructuralPartialEq for ProtoKind
Auto Trait Implementations§
impl Freeze for ProtoKind
impl RefUnwindSafe for ProtoKind
impl Send for ProtoKind
impl Sync for ProtoKind
impl Unpin for ProtoKind
impl UnwindSafe for ProtoKind
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