pub enum KeyEntry {
Ed25519(Vec<u8>),
Unusable,
}Expand description
A key the caller named for a DID. A key that is present but cannot be used is still the only key for that DID: the reference never falls back to another source for it.
Variants§
Ed25519(Vec<u8>)
A strict Ed25519 public key (32 raw bytes).
Unusable
The caller named something for the DID that is not a usable key.
Trait Implementations§
impl Eq for KeyEntry
impl StructuralPartialEq for KeyEntry
Auto Trait Implementations§
impl Forget for KeyEntry
impl Freeze for KeyEntry
impl Move for KeyEntry
impl RefUnwindSafe for KeyEntry
impl Send for KeyEntrywhere
RawVecInner: Send,
impl Sync for KeyEntrywhere
RawVecInner: Sync,
impl Unpin for KeyEntry
impl UnsafeUnpin for KeyEntry
impl UnwindSafe for KeyEntrywhere
RawVecInner: UnwindSafe,
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<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.