pub enum AuthExternalMessage {
Negotiate(AuthNegotiateExternalTransitionMessage),
Ok(AuthOkExternalTransitionMessage),
Cleartext(AuthCleartextExternalTransitionMessage),
Md5(AuthMd5ExternalTransitionMessage),
Sasl(AuthSaslExternalTransitionMessage),
Gss(AuthGssExternalTransitionMessage),
Sspi(AuthSspiExternalTransitionMessage),
KerberosV5(AuthKerberosV5ExternalTransitionMessage),
Error(AuthErrorExternalTransitionMessage),
}Expand description
Owned peer-initiated messages legal in Auth.
Variants§
Negotiate(AuthNegotiateExternalTransitionMessage)
The Event::Negotiate transition.
Ok(AuthOkExternalTransitionMessage)
The Event::Ok transition.
Cleartext(AuthCleartextExternalTransitionMessage)
The Event::Cleartext transition.
Md5(AuthMd5ExternalTransitionMessage)
The Event::Md5 transition.
Sasl(AuthSaslExternalTransitionMessage)
The Event::Sasl transition.
Gss(AuthGssExternalTransitionMessage)
The Event::Gss transition.
Sspi(AuthSspiExternalTransitionMessage)
The Event::Sspi transition.
KerberosV5(AuthKerberosV5ExternalTransitionMessage)
The Event::KerberosV5 transition.
Error(AuthErrorExternalTransitionMessage)
The Event::Error transition.
Implementations§
Source§impl AuthExternalMessage
impl AuthExternalMessage
Sourcepub const fn as_wire(&self) -> &BackendMessage
pub const fn as_wire(&self) -> &BackendMessage
Borrows the underlying decoded wire message.
Sourcepub fn into_wire(self) -> BackendMessage
pub fn into_wire(self) -> BackendMessage
Returns the underlying decoded wire message.
Trait Implementations§
Source§impl AsRef<BackendMessage> for AuthExternalMessage
impl AsRef<BackendMessage> for AuthExternalMessage
Source§fn as_ref(&self) -> &BackendMessage
fn as_ref(&self) -> &BackendMessage
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl From<AuthExternalMessage> for BackendMessage
impl From<AuthExternalMessage> for BackendMessage
Source§fn from(message: AuthExternalMessage) -> Self
fn from(message: AuthExternalMessage) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BackendMessage> for AuthExternalMessage
impl TryFrom<BackendMessage> for AuthExternalMessage
Source§type Error = BackendMessage
type Error = BackendMessage
The type returned in the event of a conversion error.
Source§fn try_from(message: BackendMessage) -> Result<Self, BackendMessage>
fn try_from(message: BackendMessage) -> Result<Self, BackendMessage>
Performs the conversion.
Auto Trait Implementations§
impl !Freeze for AuthExternalMessage
impl RefUnwindSafe for AuthExternalMessage
impl Send for AuthExternalMessage
impl Sync for AuthExternalMessage
impl Unpin for AuthExternalMessage
impl UnsafeUnpin for AuthExternalMessage
impl UnwindSafe for AuthExternalMessage
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