llama-cpp-bindings 0.8.0

llama.cpp bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use std::ffi::NulError;
use std::path::PathBuf;

#[derive(Debug, thiserror::Error)]
pub enum LoadBackendsError {
    #[error("backend directory path is not valid UTF-8: {0}")]
    PathNotUtf8(PathBuf),
    #[error("backend directory path contains a null byte: {0}")]
    PathNullByte(#[from] NulError),
}