pub struct ServerLaunchConfig {
pub executable: PathBuf,
pub model: PathBuf,
pub model_identifier: String,
pub backend: RuntimeBackend,
pub context_tokens: u32,
pub logical_cpus: usize,
pub startup_timeout: Duration,
pub health_timeout: Duration,
}Fields§
§executable: PathBuf§model: PathBuf§model_identifier: String§backend: RuntimeBackend§context_tokens: u32§logical_cpus: usize§startup_timeout: Duration§health_timeout: DurationImplementations§
Trait Implementations§
Source§impl Clone for ServerLaunchConfig
impl Clone for ServerLaunchConfig
Source§fn clone(&self) -> ServerLaunchConfig
fn clone(&self) -> ServerLaunchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerLaunchConfig
impl Debug for ServerLaunchConfig
impl Eq for ServerLaunchConfig
Source§impl PartialEq for ServerLaunchConfig
impl PartialEq for ServerLaunchConfig
impl StructuralPartialEq for ServerLaunchConfig
Auto Trait Implementations§
impl Freeze for ServerLaunchConfig
impl RefUnwindSafe for ServerLaunchConfig
impl Send for ServerLaunchConfig
impl Sync for ServerLaunchConfig
impl Unpin for ServerLaunchConfig
impl UnsafeUnpin for ServerLaunchConfig
impl UnwindSafe for ServerLaunchConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.