pub struct DrainedCommand {
pub command: Command,
pub command_index: usize,
}Expand description
A command paired with its original batch-local index from submit().
Returned in DrainResult::commands so the tick engine can build
receipts with correct command_index values even after priority reordering.
Fields§
§command: CommandThe command to execute.
command_index: usizeThe original batch-local index from the submit() call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrainedCommand
impl RefUnwindSafe for DrainedCommand
impl Send for DrainedCommand
impl Sync for DrainedCommand
impl Unpin for DrainedCommand
impl UnsafeUnpin for DrainedCommand
impl UnwindSafe for DrainedCommand
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