Skip to main content

ModuleResult

Type Alias ModuleResult 

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

Generic result type for operations in this module.

Aliased Type§

pub enum ModuleResult<T> {
    Ok(T),
    Err(String),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(String)

Contains the error value