pub enum SelectorScope {
All,
PublicKeys,
PrivateKeys,
}Expand description
The selector’s scope.
Used by Context::select_one_key, and Context::select_keys
to specify whether public or private keys should be considered.
Variants§
Trait Implementations§
Source§impl Clone for SelectorScope
impl Clone for SelectorScope
Source§impl Debug for SelectorScope
impl Debug for SelectorScope
impl Eq for SelectorScope
Source§impl PartialEq for SelectorScope
impl PartialEq for SelectorScope
impl StructuralPartialEq for SelectorScope
Auto Trait Implementations§
impl Forget for SelectorScope
impl Freeze for SelectorScope
impl Move for SelectorScope
impl RefUnwindSafe for SelectorScope
impl Send for SelectorScope
impl Sync for SelectorScope
impl Unpin for SelectorScope
impl UnsafeUnpin for SelectorScope
impl UnwindSafe for SelectorScope
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
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.