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§fn clone(&self) -> SelectorScope
fn clone(&self) -> SelectorScope
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 moreSource§impl Debug for SelectorScope
impl Debug for SelectorScope
impl Eq for SelectorScope
Source§impl PartialEq for SelectorScope
impl PartialEq for SelectorScope
Source§fn eq(&self, other: &SelectorScope) -> bool
fn eq(&self, other: &SelectorScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectorScope
Auto Trait Implementations§
impl Freeze 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.