Type Alias ort::error::OrtResult

source ·
pub type OrtResult<T> = Result<T, OrtError>;
Expand description

Type alias for the Result type returned by ORT functions.

Aliased Type§

enum OrtResult<T> {
    Ok(T),
    Err(OrtError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OrtError)

Contains the error value