pub enum InspectKind {
Entr,
Mnem,
Unknown,
}Expand description
Payload kind as decoded by inspect().
Variants§
Entr
entr — raw BIP-39 entropy (0x00 prefix byte, v0.1).
Mnem
mnem — BIP-39 mnemonic entropy with language tag (0x02 prefix byte, v0.2).
Unknown
Any other prefix byte — future or invalid.
Implementations§
Trait Implementations§
Source§impl Clone for InspectKind
impl Clone for InspectKind
Source§fn clone(&self) -> InspectKind
fn clone(&self) -> InspectKind
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 InspectKind
Source§impl Debug for InspectKind
impl Debug for InspectKind
impl Eq for InspectKind
Source§impl PartialEq for InspectKind
impl PartialEq for InspectKind
Source§fn eq(&self, other: &InspectKind) -> bool
fn eq(&self, other: &InspectKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InspectKind
Auto Trait Implementations§
impl Freeze for InspectKind
impl RefUnwindSafe for InspectKind
impl Send for InspectKind
impl Sync for InspectKind
impl Unpin for InspectKind
impl UnsafeUnpin for InspectKind
impl UnwindSafe for InspectKind
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