Skip to main content

ServerProjection

Type Alias ServerProjection 

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

A rejected frontend message paired with the unchanged authentication state.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value