Type Alias Result

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

A failable result from a llama.cpp function.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LLamaCppError)

Contains the error value