Type Alias snowboard::Result

source ·
pub type Result = Result<()>;
Expand description

A type alias for std::io::Result<()> used in Server::new()?.run(...).

Server::run returns type ! (never) so using Ok(()) is not needed.

Aliased Type§

enum Result {
    Ok(()),
    Err(Error),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Error)

Contains the error value