Trait compio::driver::PollOpCode
source · pub trait PollOpCode {
// Required methods
fn pre_submit(self: Pin<&mut Self>) -> Result<Decision, Error>;
fn on_event(
self: Pin<&mut Self>,
event: &Event
) -> Poll<Result<usize, Error>>;
}Expand description
Abstraction of operations.