Skip to main content

ComputerResult

Type Alias ComputerResult 

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

Computer模块的Result类型别名 / Result type alias for Computer module

Aliased Type§

pub enum ComputerResult<T> {
    Ok(T),
    Err(ComputerError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ComputerError)

Contains the error value