#[non_exhaustive]pub enum RefusalKind {
Refused,
Unavailable,
Request,
Forbidden,
Membership,
Expired,
}Expand description
The reason a session was refused.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Refused
The admission decider refused the session.
The admission decider could not answer.
Request
The admission request cannot be decided.
Forbidden
The grant covers none of the requested operations.
Membership
A membership proof was missing or invalid.
Expired
The verified credential expired before admission.
Implementations§
Trait Implementations§
Source§impl Clone for RefusalKind
impl Clone for RefusalKind
impl Copy for RefusalKind
Source§impl Debug for RefusalKind
impl Debug for RefusalKind
impl Eq for RefusalKind
Source§impl PartialEq for RefusalKind
impl PartialEq for RefusalKind
impl StructuralPartialEq for RefusalKind
Auto Trait Implementations§
impl Freeze for RefusalKind
impl RefUnwindSafe for RefusalKind
impl Send for RefusalKind
impl Sync for RefusalKind
impl Unpin for RefusalKind
impl UnsafeUnpin for RefusalKind
impl UnwindSafe for RefusalKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.