pub async fn submit_with_flags<T: OpCode + 'static>(
op: T,
) -> (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
.