Skip to main content

Result

Type Alias Result 

Source
pub type Result<T> = Result<T, Error>;
👎Deprecated since 0.17.0:

use the module-scoped error types (e.g. tle::Error) and define a downstream error enum, or use anyhow/color_eyre

Expand description

Convenient type alias used throughout satkit.

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value