pub enum RequestMsg {
Dispatch {
deployment: String,
batch: ExecuteBatch,
},
Chunk(Result<TokenChunk, InferenceError>),
Cancel,
}Variants§
Dispatch
Kick off the request: routes via the coordinator and dispatches to the chosen engine.
Chunk(Result<TokenChunk, InferenceError>)
Forwarded chunk from the engine.
Cancel
Gateway gave up on the response (client disconnected). Cancel.
Auto Trait Implementations§
impl Freeze for RequestMsg
impl RefUnwindSafe for RequestMsg
impl Send for RequestMsg
impl Sync for RequestMsg
impl Unpin for RequestMsg
impl UnsafeUnpin for RequestMsg
impl UnwindSafe for RequestMsg
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