#[non_exhaustive]pub enum PayloadKind {
Entr,
Mnem,
}Expand description
v0.2 payload kind.
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.
Entr
BIP-39 entropy (16/20/24/28/32 B).
Mnem
BIP-39 mnemonic entropy with wordlist language tag (16/20/24/28/32 B entropy).
Trait Implementations§
Source§impl Clone for PayloadKind
impl Clone for PayloadKind
Source§fn clone(&self) -> PayloadKind
fn clone(&self) -> PayloadKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PayloadKind
Source§impl Debug for PayloadKind
impl Debug for PayloadKind
impl Eq for PayloadKind
Source§impl PartialEq for PayloadKind
impl PartialEq for PayloadKind
Source§fn eq(&self, other: &PayloadKind) -> bool
fn eq(&self, other: &PayloadKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PayloadKind
Auto Trait Implementations§
impl Freeze for PayloadKind
impl RefUnwindSafe for PayloadKind
impl Send for PayloadKind
impl Sync for PayloadKind
impl Unpin for PayloadKind
impl UnsafeUnpin for PayloadKind
impl UnwindSafe for PayloadKind
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