pub enum SecurityErrorCode {
Show 14 variants
AuthInvalid,
AuthExpired,
AuthRevoked,
AuthzDenied,
TenantMismatch,
ProtocolDowngrade,
PayloadMismatch,
InputLimitExceeded,
SnapshotSignatureInvalid,
AuthorityRollback,
SsrfBlocked,
UnsafeArchive,
UnsafeSideEffect,
Internal,
}Expand description
Stable client-safe error codes; variants do not carry secrets or internal details.
Variants§
AuthInvalid
AuthExpired
AuthRevoked
AuthzDenied
TenantMismatch
ProtocolDowngrade
PayloadMismatch
InputLimitExceeded
SnapshotSignatureInvalid
AuthorityRollback
SsrfBlocked
UnsafeArchive
UnsafeSideEffect
Internal
Implementations§
Trait Implementations§
Source§impl Clone for SecurityErrorCode
impl Clone for SecurityErrorCode
Source§fn clone(&self) -> SecurityErrorCode
fn clone(&self) -> SecurityErrorCode
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 moreimpl Copy for SecurityErrorCode
Source§impl Debug for SecurityErrorCode
impl Debug for SecurityErrorCode
Source§impl<'de> Deserialize<'de> for SecurityErrorCode
impl<'de> Deserialize<'de> for SecurityErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SecurityErrorCode
Source§impl PartialEq for SecurityErrorCode
impl PartialEq for SecurityErrorCode
Source§impl Serialize for SecurityErrorCode
impl Serialize for SecurityErrorCode
impl StructuralPartialEq for SecurityErrorCode
Auto Trait Implementations§
impl Freeze for SecurityErrorCode
impl RefUnwindSafe for SecurityErrorCode
impl Send for SecurityErrorCode
impl Sync for SecurityErrorCode
impl Unpin for SecurityErrorCode
impl UnsafeUnpin for SecurityErrorCode
impl UnwindSafe for SecurityErrorCode
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