oci_spec

Type Alias Result

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

Spezialized result type for oci spec operations. It is used for any operation that might produce an error. This typedef is generally used to avoid writing out OciSpecError directly and is otherwise a direct mapping to Result.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OciSpecError)

Contains the error value