Struct tor_hscrypto::pk::HsBlindIdKeypair
source · pub struct HsBlindIdKeypair(/* private fields */);
Expand description
The private counterpart of a [`HsBlindIdKeyKey’].
Trait Implementations§
source§impl AsRef<ExpandedKeypair> for HsBlindIdKeypair
impl AsRef<ExpandedKeypair> for HsBlindIdKeypair
source§fn as_ref(&self) -> &ExpandedKeypair
fn as_ref(&self) -> &ExpandedKeypair
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Debug for HsBlindIdKeypair
impl Debug for HsBlindIdKeypair
source§impl Ed25519PublicKey for HsBlindIdKeypair
impl Ed25519PublicKey for HsBlindIdKeypair
source§fn public_key(&self) -> &PublicKey
fn public_key(&self) -> &PublicKey
Get the Ed25519 [
PublicKey
].source§impl From<&HsBlindIdKeypair> for HsBlindIdKey
impl From<&HsBlindIdKeypair> for HsBlindIdKey
source§fn from(value: &HsBlindIdKeypair) -> Self
fn from(value: &HsBlindIdKeypair) -> Self
Converts to this type from the input type.
source§impl From<ExpandedKeypair> for HsBlindIdKeypair
impl From<ExpandedKeypair> for HsBlindIdKeypair
source§fn from(original: ExpandedKeypair) -> HsBlindIdKeypair
fn from(original: ExpandedKeypair) -> HsBlindIdKeypair
Converts to this type from the input type.
source§impl From<HsBlindIdKeypair> for ExpandedKeypair
impl From<HsBlindIdKeypair> for ExpandedKeypair
source§fn from(original: HsBlindIdKeypair) -> Self
fn from(original: HsBlindIdKeypair) -> Self
Converts to this type from the input type.
source§impl Signer<Signature> for HsBlindIdKeypair
impl Signer<Signature> for HsBlindIdKeypair
Auto Trait Implementations§
impl Freeze for HsBlindIdKeypair
impl RefUnwindSafe for HsBlindIdKeypair
impl Send for HsBlindIdKeypair
impl Sync for HsBlindIdKeypair
impl Unpin for HsBlindIdKeypair
impl UnwindSafe for HsBlindIdKeypair
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>
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