pub enum AccessDenial {
MissingToken,
TokenRejected(TokenRejection),
UntrustedRootIssuer(ActorId),
WrongScope,
InsufficientCapability {
required: &'static str,
presented: String,
},
}Expand description
Why an access request was denied.
Variants§
MissingToken
TokenRejected(TokenRejection)
UntrustedRootIssuer(ActorId)
WrongScope
InsufficientCapability
Trait Implementations§
Source§impl Clone for AccessDenial
impl Clone for AccessDenial
Source§impl Debug for AccessDenial
impl Debug for AccessDenial
impl Eq for AccessDenial
Source§impl PartialEq for AccessDenial
impl PartialEq for AccessDenial
impl StructuralPartialEq for AccessDenial
Auto Trait Implementations§
impl Forget for AccessDenial
impl Freeze for AccessDenial
impl Move for AccessDenial
impl RefUnwindSafe for AccessDenial
impl Send for AccessDenial
impl Sync for AccessDenialwhere
RawVecInner: Sync,
impl Unpin for AccessDenial
impl UnsafeUnpin for AccessDenial
impl UnwindSafe for AccessDenial
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