Skip to main content

RubyResult

Type Alias RubyResult 

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

Ruby result type

Aliased Type§

pub enum RubyResult<T> {
    Ok(T),
    Err(RubyError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RubyError)

Contains the error value