pub struct SystemOneHost { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ModelHost for SystemOneHost
impl ModelHost for SystemOneHost
fn capabilities(&self) -> HostCapabilities
fn first_token<'life0, 'async_trait>(
&'life0 self,
req: FirstTokenRequest,
) -> Pin<Box<dyn Future<Output = Result<FirstTokenDistribution, HostError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for SystemOneHost
impl !UnwindSafe for SystemOneHost
impl Freeze for SystemOneHost
impl Send for SystemOneHost
impl Sync for SystemOneHost
impl Unpin for SystemOneHost
impl UnsafeUnpin for SystemOneHost
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