pub enum AdmissionRefusal {
NotYetValid,
Expired,
InvalidCredential,
AuthorityUnavailable,
BeforeReset,
ScopeRejected,
ReplayConflict,
Revoked,
Capacity,
Throttled,
Unavailable,
}Expand description
AdmissionRefusal
Session-admission refusals in their fixed transport order.
Variants§
NotYetValid
Credential is not yet valid at trusted time.
Expired
Credential has expired for fresh admission.
InvalidCredential
Credential verification failed.
Protected authority is not ready.
BeforeReset
Credential predates the protected reset boundary.
ScopeRejected
Requested scopes are not admitted.
ReplayConflict
A consumed credential conflicts with this request.
Revoked
Retained revocation prevents admission.
Capacity
Required bounded state has no capacity.
Throttled
The applicable attempt budget is exhausted.
Admission could not be completed.
Trait Implementations§
Source§impl Clone for AdmissionRefusal
impl Clone for AdmissionRefusal
Source§impl Debug for AdmissionRefusal
impl Debug for AdmissionRefusal
Source§impl<'de> Deserialize<'de> for AdmissionRefusal
impl<'de> Deserialize<'de> for AdmissionRefusal
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 AdmissionRefusal
Source§impl<'__wire_read> Inline<'__wire_read> for AdmissionRefusal
impl<'__wire_read> Inline<'__wire_read> for AdmissionRefusal
Source§type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
The staged Serde value and its borrowed application data or scratch.
Source§type Decoded = __WireDecodedView<'__wire_read>
type Decoded = __WireDecodedView<'__wire_read>
The raw Serde value to project with the enclosing read context.
Source§impl PartialEq for AdmissionRefusal
impl PartialEq for AdmissionRefusal
Source§impl Serialize for AdmissionRefusal
impl Serialize for AdmissionRefusal
impl StructuralPartialEq for AdmissionRefusal
Source§impl Wire for AdmissionRefusal
impl Wire for AdmissionRefusal
Source§fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
Produce metadata using
context.describe for every nested Rust type. Read moreAuto Trait Implementations§
impl Forget for AdmissionRefusal
impl Freeze for AdmissionRefusal
impl Move for AdmissionRefusal
impl RefUnwindSafe for AdmissionRefusal
impl Send for AdmissionRefusal
impl Sync for AdmissionRefusal
impl Unpin for AdmissionRefusal
impl UnsafeUnpin for AdmissionRefusal
impl UnwindSafe for AdmissionRefusal
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