#[non_exhaustive]pub enum SubjectConfirmationReason {
InvalidMethod,
MissingNotOnOrAfter,
TimeWindowInvalid,
RecipientMismatch,
InResponseToMismatch,
MissingBearerConfirmation,
}Expand description
Bearer subject confirmation validation failure reason.
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.
InvalidMethod
SubjectConfirmation Method was missing or was not bearer.
MissingNotOnOrAfter
SubjectConfirmationData omitted NotOnOrAfter.
TimeWindowInvalid
SubjectConfirmationData NotOnOrAfter time bounds were not satisfied.
RecipientMismatch
SubjectConfirmationData Recipient did not match the ACS URL.
InResponseToMismatch
SubjectConfirmationData InResponseTo did not match the request ID.
MissingBearerConfirmation
No bearer SubjectConfirmation satisfied the validation requirements.
Trait Implementations§
Source§impl Clone for SubjectConfirmationReason
impl Clone for SubjectConfirmationReason
Source§fn clone(&self) -> SubjectConfirmationReason
fn clone(&self) -> SubjectConfirmationReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubjectConfirmationReason
Source§impl Debug for SubjectConfirmationReason
impl Debug for SubjectConfirmationReason
Source§impl Display for SubjectConfirmationReason
impl Display for SubjectConfirmationReason
impl Eq for SubjectConfirmationReason
Source§impl Hash for SubjectConfirmationReason
impl Hash for SubjectConfirmationReason
impl StructuralPartialEq for SubjectConfirmationReason
Auto Trait Implementations§
impl Freeze for SubjectConfirmationReason
impl RefUnwindSafe for SubjectConfirmationReason
impl Send for SubjectConfirmationReason
impl Sync for SubjectConfirmationReason
impl Unpin for SubjectConfirmationReason
impl UnsafeUnpin for SubjectConfirmationReason
impl UnwindSafe for SubjectConfirmationReason
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