pub enum SecurityError {
Show 19 variants
InvalidPolicy(&'static str),
AuthenticationInvalid,
AuthenticationExpired,
InsufficientAssurance,
DeviceBindingRequired,
DeviceRevoked,
TenantMismatch,
NotFoundOrForbidden,
InputLimitExceeded,
CompressionLimitExceeded,
ArithmeticOverflow,
UnsafeArchivePath,
UnsafeArchiveEntry,
ArchiveLimitExceeded,
SsrfBlocked,
PayloadMismatch,
AuthorityRollback,
UnsafeSideEffect,
UnsafeDefault,
}Variants§
InvalidPolicy(&'static str)
AuthenticationInvalid
AuthenticationExpired
InsufficientAssurance
DeviceBindingRequired
DeviceRevoked
TenantMismatch
NotFoundOrForbidden
InputLimitExceeded
CompressionLimitExceeded
ArithmeticOverflow
UnsafeArchivePath
UnsafeArchiveEntry
ArchiveLimitExceeded
SsrfBlocked
PayloadMismatch
AuthorityRollback
UnsafeSideEffect
UnsafeDefault
Implementations§
Source§impl SecurityError
impl SecurityError
pub const fn code(&self) -> SecurityErrorCode
Trait Implementations§
Source§impl Debug for SecurityError
impl Debug for SecurityError
Source§impl Display for SecurityError
impl Display for SecurityError
impl Eq for SecurityError
Source§impl Error for SecurityError
impl Error for SecurityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SecurityError
impl PartialEq for SecurityError
impl StructuralPartialEq for SecurityError
Auto Trait Implementations§
impl Freeze for SecurityError
impl RefUnwindSafe for SecurityError
impl Send for SecurityError
impl Sync for SecurityError
impl Unpin for SecurityError
impl UnsafeUnpin for SecurityError
impl UnwindSafe for SecurityError
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