pub enum ContextMsg {
Execute(ExecuteBatch, Sender<Result<TokenChunk, InferenceError>>),
Rebuild {
cause: SessionRebuildCause,
reply: Sender<Result<(), InferenceError>>,
},
}Variants§
Execute(ExecuteBatch, Sender<Result<TokenChunk, InferenceError>>)
Rebuild
Auto Trait Implementations§
impl Freeze for ContextMsg
impl !RefUnwindSafe for ContextMsg
impl Send for ContextMsg
impl Sync for ContextMsg
impl Unpin for ContextMsg
impl UnsafeUnpin for ContextMsg
impl !UnwindSafe for ContextMsg
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