compio_runtime

Function submit_with_flags

Source
pub fn submit_with_flags<T: OpCode + 'static>(
    op: T,
) -> impl Future<Output = (BufResult<usize, T>, u32)>
Expand description

Submit an operation to the current runtime, and return a future for it with flags.

§Panics

This method doesn’t create runtime. It tries to obtain the current runtime by Runtime::with_current.