Skip to main content

ExtendedProjection

Type Alias ExtendedProjection 

Source
pub type ExtendedProjection<S, Phase, C> = Result<ServerExtendedOffer<S, C>, Box<(Conn<S, Phase, C>, FrontendMessage)>>;
Expand description

Projection of an extended-query choice, preserving invalid input.

Aliased Type§

pub enum ExtendedProjection<S, Phase, C> {
    Ok(ServerExtendedOffer<S, C>),
    Err(Box<(Conn<S, Phase, C>, FrontendMessage)>),
}

Variants§

§1.0.0

Ok(ServerExtendedOffer<S, C>)

Contains the success value

§1.0.0

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

Contains the error value