Enum trezor_client::protos::RecoveryType
source · pub enum RecoveryType {
NormalRecovery = 0,
DryRun = 1,
UnlockRepeatedBackup = 2,
}
Variants§
Trait Implementations§
source§impl Clone for RecoveryType
impl Clone for RecoveryType
source§fn clone(&self) -> RecoveryType
fn clone(&self) -> RecoveryType
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 RecoveryType
impl Debug for RecoveryType
source§impl Default for RecoveryType
impl Default for RecoveryType
source§impl Enum for RecoveryType
impl Enum for RecoveryType
source§fn from_i32(value: i32) -> Option<RecoveryType>
fn from_i32(value: i32) -> Option<RecoveryType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<RecoveryType>
fn from_str(str: &str) -> Option<RecoveryType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [RecoveryType] = _
const VALUES: &'static [RecoveryType] = _
All enum values for enum type.
source§impl EnumFull for RecoveryType
impl EnumFull for RecoveryType
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 RecoveryType
impl Hash for RecoveryType
source§impl PartialEq for RecoveryType
impl PartialEq for RecoveryType
source§fn eq(&self, other: &RecoveryType) -> bool
fn eq(&self, other: &RecoveryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RecoveryType
impl Eq for RecoveryType
impl StructuralPartialEq for RecoveryType
Auto Trait Implementations§
impl Freeze for RecoveryType
impl RefUnwindSafe for RecoveryType
impl Send for RecoveryType
impl Sync for RecoveryType
impl Unpin for RecoveryType
impl UnwindSafe for RecoveryType
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
)