pub struct AuthenticationBuilder<'a, B> { /* private fields */ }
Expand description
Builder for Authentication
.
Implementations§
Source§impl<'a, B> AuthenticationBuilder<'a, B>
impl<'a, B> AuthenticationBuilder<'a, B>
Source§impl<'a, B> AuthenticationBuilder<'a, B>
impl<'a, B> AuthenticationBuilder<'a, B>
pub fn authenticator<A>(self, value: A) -> Self
pub fn build_boxed( self, ) -> Result<Box<Authentication<'a, B>>, AuthenticationBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> Freeze for AuthenticationBuilder<'a, B>
impl<'a, B> !RefUnwindSafe for AuthenticationBuilder<'a, B>
impl<'a, B> Send for AuthenticationBuilder<'a, B>where
B: Send,
impl<'a, B> !Sync for AuthenticationBuilder<'a, B>
impl<'a, B> Unpin for AuthenticationBuilder<'a, B>where
B: Unpin,
impl<'a, B> !UnwindSafe for AuthenticationBuilder<'a, B>
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