pub trait FutureSpecImpl: Future {
// Required methods
exec fn obeys_future_laws(&self) -> bool;
exec fn view(&self) -> Self::Output;
}Required Methods§
Sourceexec fn obeys_future_laws(&self) -> bool
exec fn obeys_future_laws(&self) -> bool
Whether this future obeys the specification below on poll,
so that awaiting it returns view().
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".