Skip to main content

PasswordProjection

Type Alias PasswordProjection 

Source
pub type PasswordProjection<S, C> = ServerProjection<(Conn<S, ServerAuth, C>, Bytes), S, ServerPassword, C>;
Expand description

Projection of a valid password body or the unchanged server-password state.

Aliased Type§

pub enum PasswordProjection<S, C> {
    Ok((Conn<S, ServerAuth, C>, Bytes)),
    Err(Box<(Conn<S, ServerPassword, C>, FrontendMessage)>),
}

Variants§

§1.0.0

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

Contains the success value

§1.0.0

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

Contains the error value