Enum trezor_client::protos::features::RecoveryStatus
source · pub enum RecoveryStatus {
Nothing = 0,
Recovery = 1,
Backup = 2,
}
Variants§
Trait Implementations§
source§impl Clone for RecoveryStatus
impl Clone for RecoveryStatus
source§fn clone(&self) -> RecoveryStatus
fn clone(&self) -> RecoveryStatus
Returns a copy 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 RecoveryStatus
impl Debug for RecoveryStatus
source§impl Default for RecoveryStatus
impl Default for RecoveryStatus
source§impl Enum for RecoveryStatus
impl Enum for RecoveryStatus
source§fn from_i32(value: i32) -> Option<RecoveryStatus>
fn from_i32(value: i32) -> Option<RecoveryStatus>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<RecoveryStatus>
fn from_str(str: &str) -> Option<RecoveryStatus>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [RecoveryStatus] = _
const VALUES: &'static [RecoveryStatus] = _
All enum values for enum type.
source§impl EnumFull for RecoveryStatus
impl EnumFull for RecoveryStatus
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for RecoveryStatus
impl Hash for RecoveryStatus
source§impl PartialEq for RecoveryStatus
impl PartialEq for RecoveryStatus
source§fn eq(&self, other: &RecoveryStatus) -> bool
fn eq(&self, other: &RecoveryStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RecoveryStatus
impl Eq for RecoveryStatus
impl StructuralPartialEq for RecoveryStatus
Auto Trait Implementations§
impl Freeze for RecoveryStatus
impl RefUnwindSafe for RecoveryStatus
impl Send for RecoveryStatus
impl Sync for RecoveryStatus
impl Unpin for RecoveryStatus
impl UnwindSafe for RecoveryStatus
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)