pub struct MemoryAuth { /* private fields */ }Implementations§
Source§impl MemoryAuth
impl MemoryAuth
pub fn from_hashes<I, S>(hashes: I) -> Self
pub fn from_plain<I, S>(passwords: I) -> Self
Trait Implementations§
Source§impl AuthBackend for MemoryAuth
impl AuthBackend for MemoryAuth
Source§impl Clone for MemoryAuth
impl Clone for MemoryAuth
Source§fn clone(&self) -> MemoryAuth
fn clone(&self) -> MemoryAuth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemoryAuth
impl RefUnwindSafe for MemoryAuth
impl Send for MemoryAuth
impl Sync for MemoryAuth
impl Unpin for MemoryAuth
impl UnwindSafe for MemoryAuth
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