pub enum SecReason {
SensitiveMsg(String),
NoPermission(String),
Deception(String),
UnAuthenticated(String),
}Variants§
Trait Implementations§
impl DomainReason for SecReason
Source§impl ErrorIdentityProvider for SecReason
impl ErrorIdentityProvider for SecReason
fn stable_code(&self) -> &'static str
fn error_category(&self) -> ErrorCategory
Source§impl From<SecReason> for OrionSecReason
impl From<SecReason> for OrionSecReason
impl StructuralPartialEq for SecReason
Auto Trait Implementations§
impl Freeze for SecReason
impl RefUnwindSafe for SecReason
impl Send for SecReason
impl Sync for SecReason
impl Unpin for SecReason
impl UnsafeUnpin for SecReason
impl UnwindSafe for SecReason
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