pub trait Resolver: Sized {
type Backend: Poll;
type Fault: Copy;
// Required methods
fn backend(&mut self) -> &mut Self::Backend;
fn retire_one(&mut self) -> Step;
fn has_pending(&self) -> bool;
fn has_flights(&self) -> bool;
fn has_inflight(&self) -> bool;
// Provided method
fn retire(&mut self) { ... }
}Expand description
A host’s exact driver root retains all completion and retirement authority.
Required Associated Types§
Required Methods§
fn backend(&mut self) -> &mut Self::Backend
fn retire_one(&mut self) -> Step
fn has_pending(&self) -> bool
fn has_flights(&self) -> bool
fn has_inflight(&self) -> bool
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".