pub struct VerificationOptions<T> { /* private fields */ }Expand description
Options that must be provided to verify function
Implementations§
Source§impl<T> VerificationOptions<T>
impl<T> VerificationOptions<T>
pub fn with_authenticator(authenticator: Authenticator<T>) -> Self
pub fn authenticator<U>( self, authenticator: Authenticator<U>, ) -> VerificationOptions<U>
pub fn expiration(self, exp: u32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for VerificationOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for VerificationOptions<T>where
T: RefUnwindSafe,
impl<T> Send for VerificationOptions<T>where
T: Send,
impl<T> Sync for VerificationOptions<T>where
T: Sync,
impl<T> Unpin for VerificationOptions<T>where
T: Unpin,
impl<T> UnsafeUnpin for VerificationOptions<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for VerificationOptions<T>where
T: UnwindSafe,
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