#[non_exhaustive]pub enum Picked {
Absent,
Ambiguous,
Found {
by: String,
value: String,
},
}Expand description
What pick decided.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Absent
No pick found a value: the credential names nobody.
Ambiguous
A pick’s field holds two different values: the credential names nobody for certain.
Found
The first pick with a value, and the value.
Trait Implementations§
impl Eq for Picked
impl StructuralPartialEq for Picked
Auto Trait Implementations§
impl Freeze for Picked
impl RefUnwindSafe for Picked
impl Send for Picked
impl Sync for Picked
impl Unpin for Picked
impl UnsafeUnpin for Picked
impl UnwindSafe for Picked
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.