pub trait ReadyEqExt<T>{
// Required methods
fn eq(self, t: &T) -> impl Future<Output = bool> + Send;
fn ne(self, t: &T) -> impl Future<Output = bool> + Send;
}Expand description
Compares a future’s output with a borrowed value.
The comparison is attached to the future and runs when it resolves. Both equality and inequality forms preserve asynchronous composition.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".