#[non_exhaustive]pub enum CodecTag {
Encryption,
Hash,
Key,
Multihash,
Multikey,
}Expand description
Semantic class of a supported multicodec entry.
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.
Encryption
Encryption-scheme identifier.
Hash
Hash-function identifier.
Key
Raw key-material identifier.
Multihash
Multihash identifier.
Multikey
Multikey-related identifier.
Trait Implementations§
impl Copy for CodecTag
impl Eq for CodecTag
impl StructuralPartialEq for CodecTag
Auto Trait Implementations§
impl Freeze for CodecTag
impl RefUnwindSafe for CodecTag
impl Send for CodecTag
impl Sync for CodecTag
impl Unpin for CodecTag
impl UnsafeUnpin for CodecTag
impl UnwindSafe for CodecTag
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