PollAssertions

Trait PollAssertions 

Source
pub trait PollAssertions<'t, T, M: Mode> {
    // Required methods
    fn is_pending(self) -> Self;
    fn is_ready(self) -> AssertThat<'t, T, M>;
}

Required Methods§

Source

fn is_pending(self) -> Self

Source

fn is_ready(self) -> AssertThat<'t, T, M>

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<'t, T: Debug, M: Mode> PollAssertions<'t, T, M> for AssertThat<'t, Poll<T>, M>