pub struct Instance {
pub host: String,
pub port: u32,
pub process: Child,
}Expand description
An active Server running a specific language model.
Fields§
§host: StringThe host address of the Instance.
port: u32The host port of the Instance.
process: ChildThe process of the Instance.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl !RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl !UnwindSafe for Instance
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