pub struct AuthenticatorBuilder<D> { /* private fields */ }Implementations§
Source§impl<D> AuthenticatorBuilder<D>
impl<D> AuthenticatorBuilder<D>
pub fn new(adapter: D) -> Self
pub fn set_user_id_generator<F>(self, function: fn() -> UserId) -> Self
pub fn enable_auto_database_cleanup(self, enable: bool) -> Self
pub fn build<U>(self) -> Authenticator<D, U>
Auto Trait Implementations§
impl<D> Freeze for AuthenticatorBuilder<D>where
D: Freeze,
impl<D> RefUnwindSafe for AuthenticatorBuilder<D>where
D: RefUnwindSafe,
impl<D> Send for AuthenticatorBuilder<D>where
D: Send,
impl<D> Sync for AuthenticatorBuilder<D>where
D: Sync,
impl<D> Unpin for AuthenticatorBuilder<D>where
D: Unpin,
impl<D> UnwindSafe for AuthenticatorBuilder<D>where
D: 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