pub enum VaultState {
Inactive = 0,
Active = 1,
Unlocking = 2,
Ejecting = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for VaultState
impl Clone for VaultState
Source§fn clone(&self) -> VaultState
fn clone(&self) -> VaultState
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 VaultState
impl Debug for VaultState
Source§impl From<u16> for VaultState
impl From<u16> for VaultState
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VaultState
impl PartialEq for VaultState
Source§impl Property for VaultState
impl Property for VaultState
type Value = VaultState
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for VaultState
impl Eq for VaultState
impl StructuralPartialEq for VaultState
Auto Trait Implementations§
impl Freeze for VaultState
impl RefUnwindSafe for VaultState
impl Send for VaultState
impl Sync for VaultState
impl Unpin for VaultState
impl UnwindSafe for VaultState
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