pub trait PollExt<T> {
// Required method
fn is_ready_checked<TT: EqType<T>>(&self) -> bool;
}
Expand description
An extension trait adding functionality to Poll
.
Required Methods§
sourcefn is_ready_checked<TT: EqType<T>>(&self) -> bool
fn is_ready_checked<TT: EqType<T>>(&self) -> bool
Like Poll::is_ready
, but the caller must provide the inner type.
This allows both the authors and the reviewers to check if information is being discarded unnoticed.
Object Safety§
This trait is not object safe.