#[non_exhaustive]pub enum DecodedMultikey {
Ed25519(VerifyingKey),
Secp256k1(PublicKey),
P256(PublicKey),
P384(PublicKey),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for DecodedMultikey
impl Clone for DecodedMultikey
Source§fn clone(&self) -> DecodedMultikey
fn clone(&self) -> DecodedMultikey
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 DecodedMultikey
impl Debug for DecodedMultikey
Source§impl MultiCodec for DecodedMultikey
impl MultiCodec for DecodedMultikey
Auto Trait Implementations§
impl Freeze for DecodedMultikey
impl RefUnwindSafe for DecodedMultikey
impl Send for DecodedMultikey
impl Sync for DecodedMultikey
impl Unpin for DecodedMultikey
impl UnwindSafe for DecodedMultikey
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.