pub fn map<U, F>(self, f: F) -> Poll<U>
    where
        F: FnOnce(T) -> U,
    {
        match self {
            Poll::Ready(t) => Poll::Ready(f(t)),
            Poll::Pending => Poll::Pending,
        }
    }
/// Maps a `Poll<T>` to `Poll<U>` by applying a function to a contained value.
Maps a `Poll` to `Poll` by applying a function to a contained value.
Maps a ` Poll ` to ` Poll ` by applying a function to a contained value .
pub fn map<U, F>(self, f: F) -> Poll<U>
    where
        F: FnOnce(T) -> U,
    {
        match self {
            Poll::Ready(t) => Poll::Ready(f(t)),
            Poll::Pending => Poll::Pending,
        }
    }
pub fn map < U , F > ( self , f : F ) -> Poll < U > where F : FnOnce ( T ) -> U , { match self { Poll :: Ready ( t ) => Poll :: Ready ( f ( t ) ) , Poll :: Pending => Poll :: Pending , } }
Maps a `Poll<T>` to `Poll<U>` by applying a function to a contained value.
Maps a ` Poll<T > ` to ` Poll<U > ` by applying a function to a contained value .
self
f
F
self
f
F