Skip to main content

Result

Type Alias Result 

Source
pub type Result<T> = Result<T, PerceptionError>;
Expand description

Convenience alias used throughout the perception module.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PerceptionError)

Contains the error value