plane_core

Type Alias NeverResult

Source
pub type NeverResult = Result<Never>;
Expand description

Represents a Result whose Ok() variant can never be constructed. A function which returns this may only terminate in an error state. It is used as a return value to represent functions that are expected to run forever, but may error-out.

Aliased Type§

enum NeverResult {
    Ok(Never),
    Err(Error),
}

Variants§

§1.0.0

Ok(Never)

Contains the success value

§1.0.0

Err(Error)

Contains the error value