pub enum AuthInternalProjection<Transport, SourceCleanliness> {
Negotiate {
connection: Conn<Transport, Auth, SourceCleanliness>,
message: AuthNegotiateInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Cleartext {
connection: Conn<Transport, PasswordResponse, SourceCleanliness>,
message: AuthCleartextInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Md5 {
connection: Conn<Transport, PasswordResponse, SourceCleanliness>,
message: AuthMd5InternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Sasl {
connection: Conn<Transport, SaslInitial, SourceCleanliness>,
message: AuthSaslInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Gss {
connection: Conn<Transport, TokenResponse, SourceCleanliness>,
message: AuthGssInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Sspi {
connection: Conn<Transport, TokenResponse, SourceCleanliness>,
message: AuthSspiInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
KerberosV5 {
connection: Conn<Transport, TokenResponse, SourceCleanliness>,
message: AuthKerberosV5InternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Ok {
connection: Conn<Transport, StartupReady, SourceCleanliness>,
message: AuthOkInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Error {
connection: Conn<Transport, Terminated, SourceCleanliness>,
message: AuthErrorInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for AuthInternalMessage.
Variants§
Negotiate
The Event::Negotiate transition and its correctly typed next connection.
Fields
connection: Conn<Transport, Auth, SourceCleanliness>Connection after applying the selected message transition.
message: AuthNegotiateInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Cleartext
The Event::Cleartext transition and its correctly typed next connection.
Fields
connection: Conn<Transport, PasswordResponse, SourceCleanliness>Connection after applying the selected message transition.
message: AuthCleartextInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Md5
The Event::Md5 transition and its correctly typed next connection.
Fields
connection: Conn<Transport, PasswordResponse, SourceCleanliness>Connection after applying the selected message transition.
message: AuthMd5InternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Sasl
The Event::Sasl transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SaslInitial, SourceCleanliness>Connection after applying the selected message transition.
message: AuthSaslInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Gss
The Event::Gss transition and its correctly typed next connection.
Fields
connection: Conn<Transport, TokenResponse, SourceCleanliness>Connection after applying the selected message transition.
message: AuthGssInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Sspi
The Event::Sspi transition and its correctly typed next connection.
Fields
connection: Conn<Transport, TokenResponse, SourceCleanliness>Connection after applying the selected message transition.
message: AuthSspiInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
KerberosV5
The Event::KerberosV5 transition and its correctly typed next connection.
Fields
connection: Conn<Transport, TokenResponse, SourceCleanliness>Connection after applying the selected message transition.
message: AuthKerberosV5InternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Ok
The Event::Ok transition and its correctly typed next connection.
Fields
connection: Conn<Transport, StartupReady, SourceCleanliness>Connection after applying the selected message transition.
message: AuthOkInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Error
The Event::Error transition and its correctly typed next connection.
Fields
connection: Conn<Transport, Terminated, SourceCleanliness>Connection after applying the selected message transition.
message: AuthErrorInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.