Struct tor_hscrypto::pk::HsBlindId
source · pub struct HsBlindId(/* private fields */);
Expand description
A blinded onion service identity, represented in a compact format. (KP_hs_blind_id
)
Note: This is a separate type from HsBlindIdKey
because it is about
6x smaller.
Trait Implementations§
source§impl From<Ed25519Identity> for HsBlindId
impl From<Ed25519Identity> for HsBlindId
source§fn from(value: Ed25519Identity) -> Self
fn from(value: Ed25519Identity) -> Self
Converts to this type from the input type.
source§impl From<HsBlindIdKey> for HsBlindId
impl From<HsBlindIdKey> for HsBlindId
source§fn from(value: HsBlindIdKey) -> Self
fn from(value: HsBlindIdKey) -> Self
Converts to this type from the input type.
source§impl PartialEq for HsBlindId
impl PartialEq for HsBlindId
source§impl TryFrom<HsBlindId> for HsBlindIdKey
impl TryFrom<HsBlindId> for HsBlindIdKey
source§impl Writeable for HsBlindId
impl Writeable for HsBlindId
source§fn write_onto<B: Writer + ?Sized>(&self, w: &mut B) -> EncodeResult<()>
fn write_onto<B: Writer + ?Sized>(&self, w: &mut B) -> EncodeResult<()>
Encode this object into the writer
b
.impl Copy for HsBlindId
impl Eq for HsBlindId
impl StructuralPartialEq for HsBlindId
Auto Trait Implementations§
impl Freeze for HsBlindId
impl RefUnwindSafe for HsBlindId
impl Send for HsBlindId
impl Sync for HsBlindId
impl Unpin for HsBlindId
impl UnwindSafe for HsBlindId
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<W> WriteableOnce for Wwhere
W: Writeable,
impl<W> WriteableOnce for Wwhere
W: Writeable,
source§fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>
fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>
Encode this object into the writer
b
, and consume it.