pub enum Action {
Execute {
program: Id,
effects: Vec<Effect>,
},
CancelEffects {
program: Id,
effects: Vec<Effect>,
},
ProgramPrepared(Id),
ProgramComplete {
program: Id,
error: Option<Error>,
},
DisposeObject(Id),
CloseResource(Id),
DropValue(Id),
CancelRoot(Id),
CancelCall(Id),
CancelTask(Id),
RetireOrb(Id),
StateChanged {
object: Id,
revision: u64,
},
}Expand description
Actions are executed by the adapter after a kernel operation completes.
Variants§
Execute
CancelEffects
ProgramPrepared(Id)
ProgramComplete
DisposeObject(Id)
CloseResource(Id)
DropValue(Id)
CancelRoot(Id)
CancelCall(Id)
One invocation was cancelled by its caller: only that call and the calls it issued, never its root or sibling calls. Physical calls keep running until they finish.
CancelTask(Id)
RetireOrb(Id)
StateChanged
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Forget for Action
impl Freeze for Action
impl Move for Action
impl RefUnwindSafe for Action
impl Send for Actionwhere
RawVecInner: Send,
impl Sync for Actionwhere
RawVecInner: Sync,
impl Unpin for Action
impl UnsafeUnpin for Actionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Effect>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Actionwhere
RawVecInner: UnwindSafe,
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