pub enum SaslEvent<S> {
Continue {
conn: Conn<S, SaslChallenge>,
challenge: Bytes,
},
Final {
conn: Conn<S, SaslFinal>,
server_final: Bytes,
},
Error {
conn: Conn<S, Terminated>,
error: DiagnosticResponse,
},
}Expand description
An external choice received during a SASL exchange.
Variants§
Continue
The backend supplied another challenge.
Fields
§
conn: Conn<S, SaslChallenge>Connection waiting for the corresponding client response.
Final
The backend supplied its final verifier.
Fields
Error
The backend aborted authentication.
Fields
§
conn: Conn<S, Terminated>Terminated connection.
§
error: DiagnosticResponseBackend diagnostic describing the failure.
Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for SaslEvent<S>
impl<S> RefUnwindSafe for SaslEvent<S>where
S: RefUnwindSafe,
impl<S> Send for SaslEvent<S>where
S: Send,
impl<S> Sync for SaslEvent<S>where
S: Sync,
impl<S> Unpin for SaslEvent<S>where
S: Unpin,
impl<S> UnsafeUnpin for SaslEvent<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SaslEvent<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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