Type Alias cushy::Result

source ·
pub type Result<T = (), E = EventLoopError> = Result<T, E>;
Expand description

A result alias that defaults to the result type commonly used throughout this crate.

Aliased Type§

enum Result<T = (), E = EventLoopError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value