pub trait IoBackend: Send + Sync {
// Required methods
fn name() -> &'static str;
fn run<Fut: Future>(self: &Arc<Self>, fut: Fut) -> Fut::Output;
}
Expand description
Trait implemented by IO backends.
Required Methods§
Object Safety§
This trait is not object safe.