pub enum SchedulerCommand {
Submit(DirectRequest),
CancelRequest {
request_id: Uuid,
},
SubmitHandoffPrefill {
handoff_id: HandoffId,
request: DirectRequest,
},
ReleaseSource {
handoff_id: HandoffId,
},
CancelSource {
handoff_id: HandoffId,
},
ReserveDestination {
handoff_id: HandoffId,
request: DirectRequest,
},
ActivateDestination {
handoff_id: HandoffId,
},
CancelDestination {
handoff_id: HandoffId,
},
}Variants§
Submit(DirectRequest)
CancelRequest
Remove an ordinary request from the live scheduler by its stable ID.
Live requests use a dedicated cancellation lane. Their owned submit task must acknowledge admission before cancellation is enqueued, so a dropped network stream cannot race ahead of its own request admission.
SubmitHandoffPrefill
ReleaseSource
CancelSource
ReserveDestination
ActivateDestination
CancelDestination
Auto Trait Implementations§
impl Freeze for SchedulerCommand
impl RefUnwindSafe for SchedulerCommand
impl Send for SchedulerCommand
impl Sync for SchedulerCommand
impl Unpin for SchedulerCommand
impl UnsafeUnpin for SchedulerCommand
impl UnwindSafe for SchedulerCommand
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