Skip to main content

SaslResponseProjection

Type Alias SaslResponseProjection 

Source
pub type SaslResponseProjection<S, C> = ServerProjection<(Conn<S, ServerSasl, C>, Bytes), S, ServerSaslResponse, C>;
Expand description

Projection of a recursive SASL response into the next policy decision.

Aliased Type§

pub enum SaslResponseProjection<S, C> {
    Ok((Conn<S, ServerSasl, C>, Bytes)),
    Err(Box<(Conn<S, ServerSaslResponse, C>, FrontendMessage)>),
}

Variants§

§1.0.0

Ok((Conn<S, ServerSasl, C>, Bytes))

Contains the success value

§1.0.0

Err(Box<(Conn<S, ServerSaslResponse, C>, FrontendMessage)>)

Contains the error value