pub enum Authentication<'r, 'a> {
Authenticated(Authenticated<'r, 'a>),
Rejected(AuthenticationFailure),
Unsupported,
}Expand description
Completed authentication result, separately from processing and callback failures. Unsupported verification is never a rejected signature.
Variants§
Authenticated(Authenticated<'r, 'a>)
Signature and issuer binding were established.
Rejected(AuthenticationFailure)
A completed binding or verification check rejected the authority.
Unsupported
The callback does not support this signature or effective key.
Trait Implementations§
Auto Trait Implementations§
impl<'r, 'a> !RefUnwindSafe for Authentication<'r, 'a>
impl<'r, 'a> !Send for Authentication<'r, 'a>
impl<'r, 'a> !Sync for Authentication<'r, 'a>
impl<'r, 'a> !UnwindSafe for Authentication<'r, 'a>
impl<'r, 'a> Freeze for Authentication<'r, 'a>
impl<'r, 'a> Unpin for Authentication<'r, 'a>
impl<'r, 'a> UnsafeUnpin for Authentication<'r, 'a>
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