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),
}