Enum trezor_client::protos::features::Capability
source · pub enum Capability {
Show 18 variants
Capability_Bitcoin = 1,
Capability_Bitcoin_like = 2,
Capability_Binance = 3,
Capability_Cardano = 4,
Capability_Crypto = 5,
Capability_EOS = 6,
Capability_Ethereum = 7,
Capability_Lisk = 8,
Capability_Monero = 9,
Capability_NEM = 10,
Capability_Ripple = 11,
Capability_Stellar = 12,
Capability_Tezos = 13,
Capability_U2F = 14,
Capability_Shamir = 15,
Capability_ShamirGroups = 16,
Capability_PassphraseEntry = 17,
Capability_Solana = 18,
}
Variants§
Capability_Bitcoin = 1
Capability_Bitcoin_like = 2
Capability_Binance = 3
Capability_Cardano = 4
Capability_Crypto = 5
Capability_EOS = 6
Capability_Ethereum = 7
Capability_Lisk = 8
Capability_Monero = 9
Capability_NEM = 10
Capability_Ripple = 11
Capability_Stellar = 12
Capability_Tezos = 13
Capability_U2F = 14
Capability_Shamir = 15
Capability_ShamirGroups = 16
Capability_PassphraseEntry = 17
Capability_Solana = 18
Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
source§impl Default for Capability
impl Default for Capability
source§impl Enum for Capability
impl Enum for Capability
source§fn from_i32(value: i32) -> Option<Capability>
fn from_i32(value: i32) -> Option<Capability>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<Capability>
fn from_str(str: &str) -> Option<Capability>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [Capability] = _
const VALUES: &'static [Capability] = _
All enum values for enum type.
source§impl EnumFull for Capability
impl EnumFull for Capability
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 Capability
impl Hash for Capability
source§impl PartialEq for Capability
impl PartialEq for Capability
source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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