pub enum VaultState {
Locked,
Unlocked,
}Expand description
Vault state contract.
Variants§
Locked
Secret material is unavailable.
Unlocked
Secret material may be accessed through the vault implementation.
Trait Implementations§
Source§impl Clone for VaultState
impl Clone for VaultState
Source§fn clone(&self) -> VaultState
fn clone(&self) -> VaultState
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 VaultState
Source§impl Debug for VaultState
impl Debug for VaultState
impl Eq for VaultState
Source§impl PartialEq for VaultState
impl PartialEq 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 UnsafeUnpin 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