pub struct MemPublicKeyStore { /* private fields */ }Expand description
In-memory key storage
Trait Implementations§
Source§impl Clone for MemPublicKeyStore
impl Clone for MemPublicKeyStore
Source§fn clone(&self) -> MemPublicKeyStore
fn clone(&self) -> MemPublicKeyStore
Returns a duplicate 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 MemPublicKeyStore
impl Debug for MemPublicKeyStore
Source§impl Default for MemPublicKeyStore
impl Default for MemPublicKeyStore
Source§fn default() -> MemPublicKeyStore
fn default() -> MemPublicKeyStore
Returns the “default value” for a type. Read more
Source§impl PublicKeyStore for MemPublicKeyStore
impl PublicKeyStore for MemPublicKeyStore
Source§fn public_key(&self, bytes: &[u8; 32]) -> Result<VerifyingKey, SignatureError>
fn public_key(&self, bytes: &[u8; 32]) -> Result<VerifyingKey, SignatureError>
Convert a byte array into a
VerifyingKey. Read moreSource§fn namespace_key(
&self,
bytes: &NamespaceId,
) -> Result<NamespacePublicKey, SignatureError>
fn namespace_key( &self, bytes: &NamespaceId, ) -> Result<NamespacePublicKey, SignatureError>
Auto Trait Implementations§
impl Freeze for MemPublicKeyStore
impl RefUnwindSafe for MemPublicKeyStore
impl Send for MemPublicKeyStore
impl Sync for MemPublicKeyStore
impl Unpin for MemPublicKeyStore
impl UnsafeUnpin for MemPublicKeyStore
impl UnwindSafe for MemPublicKeyStore
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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