pub enum CanonicalAuthError {
LengthOverflow,
EmptyScope,
InvalidScope {
scope: String,
},
NonCanonicalScopes,
NonCanonicalRoles,
TokenExtTooLarge {
len: usize,
max: usize,
},
}Expand description
CanonicalAuthError
Typed failure surface for delegated auth canonicalization.
Variants§
Trait Implementations§
Source§impl Debug for CanonicalAuthError
impl Debug for CanonicalAuthError
Source§impl Display for CanonicalAuthError
impl Display for CanonicalAuthError
impl Eq for CanonicalAuthError
Source§impl Error for CanonicalAuthError
impl Error for CanonicalAuthError
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 CanonicalAuthError
impl PartialEq for CanonicalAuthError
impl StructuralPartialEq for CanonicalAuthError
Auto Trait Implementations§
impl Freeze for CanonicalAuthError
impl RefUnwindSafe for CanonicalAuthError
impl Send for CanonicalAuthError
impl Sync for CanonicalAuthError
impl Unpin for CanonicalAuthError
impl UnsafeUnpin for CanonicalAuthError
impl UnwindSafe for CanonicalAuthError
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