pub enum AuthCompletion<S> {
Ok(Conn<S, AwaitingStartupReady>),
Error {
conn: Conn<S, Terminated>,
error: DiagnosticResponse,
},
}Expand description
Completion or failure after a credential mechanism finishes.
Variants§
Ok(Conn<S, AwaitingStartupReady>)
The backend confirmed authentication.
Error
The backend rejected authentication.
Fields
§
conn: Conn<S, Terminated>Terminated connection.
§
error: DiagnosticResponseBackend diagnostic describing the failure.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for AuthCompletion<S>where
S: Freeze,
impl<S> RefUnwindSafe for AuthCompletion<S>where
S: RefUnwindSafe,
impl<S> Send for AuthCompletion<S>where
S: Send,
impl<S> Sync for AuthCompletion<S>where
S: Sync,
impl<S> Unpin for AuthCompletion<S>where
S: Unpin,
impl<S> UnsafeUnpin for AuthCompletion<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for AuthCompletion<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