pub trait AllowThreadsExt: Sized {
    // Provided method
    fn allow_threads(self) -> AllowThreads<Self>  { ... }
}
Expand description

Extension trait to allow threads while polling Future or [Stream].

It is implemented for every types.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§