pub struct WorkerArgs {
pub frames_fd: Option<i32>,
pub fd_channel_fd: Option<i32>,
pub model: Option<PathBuf>,
pub max_context: i32,
pub max_batch: u32,
pub kv_bits: i32,
pub venv: Option<PathBuf>,
pub extra: Vec<(String, String)>,
}Fields§
§frames_fd: Option<i32>§fd_channel_fd: Option<i32>§model: Option<PathBuf>§max_context: i32§max_batch: u32§kv_bits: i32§venv: Option<PathBuf>§extra: Vec<(String, String)>Implementations§
Trait Implementations§
Source§impl Clone for WorkerArgs
impl Clone for WorkerArgs
Source§impl Debug for WorkerArgs
impl Debug for WorkerArgs
Auto Trait Implementations§
impl Freeze for WorkerArgs
impl RefUnwindSafe for WorkerArgs
impl Send for WorkerArgs
impl Sync for WorkerArgs
impl Unpin for WorkerArgs
impl UnsafeUnpin for WorkerArgs
impl UnwindSafe for WorkerArgs
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