#[non_exhaustive]pub enum PayloadKind {
Entr,
}Expand description
v0.1 payload kind. Future kinds (Mnem, Seed, Xprv) will arrive in v0.2+ with their own framing per SPEC §1, §3.3, §8.
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).
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 moreSource§impl Debug for PayloadKind
impl Debug 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 Copy for PayloadKind
impl Eq for PayloadKind
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