pub enum DelegationEncodingError {
Grants(ClaimsError),
KeyNameTooLong,
DerivationPathTooLarge,
}Expand description
Bounded structural refusal; never an authentication or authorization result.
Variants§
Grants(ClaimsError)
Delegated grants violate shared role/scope shape or ordering.
KeyNameTooLong
Root key name exceeds the transport profile’s 128-byte cap.
DerivationPathTooLarge
More than 32 derivation components, or a component exceeds 256 bytes.
Trait Implementations§
Source§impl Clone for DelegationEncodingError
impl Clone for DelegationEncodingError
impl Copy for DelegationEncodingError
Source§impl Debug for DelegationEncodingError
impl Debug for DelegationEncodingError
Source§impl Display for DelegationEncodingError
impl Display for DelegationEncodingError
impl Eq for DelegationEncodingError
Source§impl Error for DelegationEncodingError
impl Error for DelegationEncodingError
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 DelegationEncodingError
impl PartialEq for DelegationEncodingError
impl StructuralPartialEq for DelegationEncodingError
Auto Trait Implementations§
impl Forget for DelegationEncodingError
impl Freeze for DelegationEncodingError
impl Move for DelegationEncodingError
impl RefUnwindSafe for DelegationEncodingError
impl Send for DelegationEncodingError
impl Sync for DelegationEncodingError
impl Unpin for DelegationEncodingError
impl UnsafeUnpin for DelegationEncodingError
impl UnwindSafe for DelegationEncodingError
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