Skip to main content

GameResult

Type Alias GameResult 

Source
pub type GameResult<T> = Result<T, GameError>;

Aliased Type§

pub enum GameResult<T> {
    Ok(T),
    Err(GameError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(GameError)

Contains the error value