pub enum AskedFor {
Nothing,
Secrets,
SecretsGiven,
}Expand description
What a new replica asked for, besides the library, as it paired.
Variants§
Nothing
Nothing, or the secrets from a replica that holds none.
Secrets
The secrets, which it was not given: the replica that added it gives them later.
SecretsGiven
The secrets, which it was given.
Trait Implementations§
impl Copy for AskedFor
impl Eq for AskedFor
impl StructuralPartialEq for AskedFor
Auto Trait Implementations§
impl Forget for AskedFor
impl Freeze for AskedFor
impl Move for AskedFor
impl RefUnwindSafe for AskedFor
impl Send for AskedFor
impl Sync for AskedFor
impl Unpin for AskedFor
impl UnsafeUnpin for AskedFor
impl UnwindSafe for AskedFor
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.