pub enum SecretsState {
NotSetUp,
Here,
Asked,
Elsewhere,
}Expand description
Where a library’s secrets are, as this replica sees them.
Variants§
NotSetUp
No replica has set up the secrets yet: the first secret saved sets them up here.
Here
This replica holds the secrets keys, or takes those given to it when its secrets are next unlocked.
Asked
This replica asked for the secrets, and waits for one that holds them to give them.
Elsewhere
Another replica holds the secrets; this one can ask for them.
Trait Implementations§
Source§impl Clone for SecretsState
impl Clone for SecretsState
impl Copy for SecretsState
Source§impl Debug for SecretsState
impl Debug for SecretsState
impl Eq for SecretsState
Source§impl PartialEq for SecretsState
impl PartialEq for SecretsState
impl StructuralPartialEq for SecretsState
Auto Trait Implementations§
impl Forget for SecretsState
impl Freeze for SecretsState
impl Move for SecretsState
impl RefUnwindSafe for SecretsState
impl Send for SecretsState
impl Sync for SecretsState
impl Unpin for SecretsState
impl UnsafeUnpin for SecretsState
impl UnwindSafe for SecretsState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.