Skip to main content

ReadyBoolExt

Trait ReadyBoolExt 

Source
pub trait ReadyBoolExt
where Self: Future<Output = bool> + ReadyEqExt<bool> + Send,
{ // Provided methods fn is_false(self) -> impl Future<Output = bool> + Send { ... } fn is_true(self) -> impl Future<Output = bool> + Send { ... } }

Provided Methods§

Source

fn is_false(self) -> impl Future<Output = bool> + Send

Source

fn is_true(self) -> impl Future<Output = bool> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Fut> ReadyBoolExt for Fut
where Fut: Future<Output = bool> + Send,