pub enum RequestAuthState {
PreHandshake,
Exchanging,
Failed,
Authenticated,
}Expand description
Authentication phase used to admit a Kafka request, after Kafka’s
SaslServerAuthenticator states.
Variants§
PreHandshake
No SaslHandshake has run yet: only SaslHandshake (17) and
ApiVersions (18) are Kafka requests the authenticator handles.
Exchanging
A handshake chose a mechanism, for the initial authentication or a
KIP-368 re-authentication: only SaslAuthenticate (36) may follow.
Failed
Authentication failed, including a mechanism switch or a controller session that expired: the next frame, whatever it is, fails the connection.
Authenticated
Trait Implementations§
Source§impl Clone for RequestAuthState
impl Clone for RequestAuthState
Source§fn clone(&self) -> RequestAuthState
fn clone(&self) -> RequestAuthState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestAuthState
Source§impl Debug for RequestAuthState
impl Debug for RequestAuthState
impl Eq for RequestAuthState
Source§impl PartialEq for RequestAuthState
impl PartialEq for RequestAuthState
impl StructuralPartialEq for RequestAuthState
Auto Trait Implementations§
impl Freeze for RequestAuthState
impl RefUnwindSafe for RequestAuthState
impl Send for RequestAuthState
impl Sync for RequestAuthState
impl Unpin for RequestAuthState
impl UnsafeUnpin for RequestAuthState
impl UnwindSafe for RequestAuthState
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