#[non_exhaustive]pub enum ExtractNoMatch {
Warn,
Deny,
Error,
Other(String),
}Expand description
A credential’s onExtractNoMatch.
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.
Warn
Leave it unmasked.
Deny
Hide it.
Error
Stop sandbox setup.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ExtractNoMatch
impl AsRef<str> for ExtractNoMatch
Source§impl Clone for ExtractNoMatch
impl Clone for ExtractNoMatch
Source§impl Debug for ExtractNoMatch
impl Debug for ExtractNoMatch
Source§impl<'de> Deserialize<'de> for ExtractNoMatch
impl<'de> Deserialize<'de> for ExtractNoMatch
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExtractNoMatch
impl Display for ExtractNoMatch
impl Eq for ExtractNoMatch
Source§impl From<&str> for ExtractNoMatch
impl From<&str> for ExtractNoMatch
Source§impl From<String> for ExtractNoMatch
impl From<String> for ExtractNoMatch
Source§impl Hash for ExtractNoMatch
impl Hash for ExtractNoMatch
Source§impl Ord for ExtractNoMatch
impl Ord for ExtractNoMatch
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExtractNoMatch
impl PartialEq for ExtractNoMatch
Source§impl PartialOrd for ExtractNoMatch
impl PartialOrd for ExtractNoMatch
Source§impl Serialize for ExtractNoMatch
impl Serialize for ExtractNoMatch
impl StructuralPartialEq for ExtractNoMatch
Auto Trait Implementations§
impl Forget for ExtractNoMatch
impl Freeze for ExtractNoMatch
impl Move for ExtractNoMatch
impl RefUnwindSafe for ExtractNoMatch
impl Send for ExtractNoMatch
impl Sync for ExtractNoMatch
impl Unpin for ExtractNoMatch
impl UnsafeUnpin for ExtractNoMatch
impl UnwindSafe for ExtractNoMatch
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