|
|
|
@ -6,8 +6,7 @@ use crate::stream::Stream;
|
|
|
|
|
use crate::task::{Context, Poll};
|
|
|
|
|
|
|
|
|
|
pin_project! {
|
|
|
|
|
/// A `Stream` that is permanently closed once a single call to `poll` results in
|
|
|
|
|
/// `Poll::Ready(None)`, returning `Poll::Ready(None)` for all future calls to `poll`.
|
|
|
|
|
/// A stream that yields `None` forever after the underlying stream yields `None` once.
|
|
|
|
|
///
|
|
|
|
|
/// This `struct` is created by the [`fuse`] method on [`Stream`]. See its
|
|
|
|
|
/// documentation for more.
|
|
|
|
|