Trait OpCompletion

Source
pub trait OpCompletion {
    type Error;

    // Required methods
    fn entry(&self) -> Entry;
    fn owner(&self) -> Owner;
    fn force_owner_kernel(&mut self) -> bool;
}
Expand description

Pending Completion type implemented by the OpCode handlers.

Required Associated Types§

Source

type Error

It is recommended that you use a harmonized error type but is not mandatory.

Required Methods§

Source

fn entry(&self) -> Entry

Provide the squeue entry

Source

fn owner(&self) -> Owner

Get the current Owner

Source

fn force_owner_kernel(&mut self) -> bool

Force set the owner to Kernel

Implementors§