Struct llm_daemon::LlamaConfig
source · pub struct LlamaConfig {
pub server_path: PathBuf,
pub model_path: PathBuf,
pub pid_file: PathBuf,
pub stdout: PathBuf,
pub stderr: PathBuf,
pub sock_file: PathBuf,
pub port: u16,
}
Fields§
§server_path: PathBuf
§model_path: PathBuf
§pid_file: PathBuf
§stdout: PathBuf
§stderr: PathBuf
§sock_file: PathBuf
§port: u16
Trait Implementations§
source§impl Default for LlamaConfig
impl Default for LlamaConfig
Auto Trait Implementations§
impl Freeze for LlamaConfig
impl RefUnwindSafe for LlamaConfig
impl Send for LlamaConfig
impl Sync for LlamaConfig
impl Unpin for LlamaConfig
impl UnwindSafe for LlamaConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more