Skip to main content

ReadyProjection

Type Alias ReadyProjection 

Source
pub type ReadyProjection<S, C> = Result<ServerReadyOffer<S, C>, Box<(Conn<S, Ready, C>, FrontendMessage)>>;
Expand description

Projection of a client ready-state choice, preserving invalid input.

Aliased Type§

pub enum ReadyProjection<S, C> {
    Ok(ServerReadyOffer<S, C>),
    Err(Box<(Conn<S, Ready, C>, FrontendMessage)>),
}

Variants§

§1.0.0

Ok(ServerReadyOffer<S, C>)

Contains the success value

§1.0.0

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

Contains the error value