Struct sasl::server::mechanisms::Scram
source · pub struct Scram<S, P>where
S: ScramProvider,
P: Provider<S::Secret>,
S::Secret: Pbkdf2Secret,{ /* private fields */ }
Implementations§
source§impl<S, P> Scram<S, P>where
S: ScramProvider,
P: Provider<S::Secret>,
S::Secret: Pbkdf2Secret,
impl<S, P> Scram<S, P>where S: ScramProvider, P: Provider<S::Secret>, S::Secret: Pbkdf2Secret,
pub fn new(provider: P, channel_binding: ChannelBinding) -> Scram<S, P>
Trait Implementations§
Auto Trait Implementations§
impl<S, P> RefUnwindSafe for Scram<S, P>where P: RefUnwindSafe, S: RefUnwindSafe,
impl<S, P> Send for Scram<S, P>where P: Send, S: Send,
impl<S, P> Sync for Scram<S, P>where P: Sync, S: Sync,
impl<S, P> Unpin for Scram<S, P>where P: Unpin, S: Unpin,
impl<S, P> UnwindSafe for Scram<S, P>where P: UnwindSafe, S: 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