Struct futures_util::stream::TryUnfold [−][src]
#[must_use = "streams do nothing unless polled"]pub struct TryUnfold<T, F, Fut> { /* fields omitted */ }
Stream for the try_unfold
function.
Trait Implementations
impl<T, F, Fut, Item> Stream for TryUnfold<T, F, Fut> where
F: FnMut(T) -> Fut,
Fut: TryFuture<Ok = Option<(Item, T)>>,
[src]
impl<T, F, Fut, Item> Stream for TryUnfold<T, F, Fut> where
F: FnMut(T) -> Fut,
Fut: TryFuture<Ok = Option<(Item, T)>>,
[src]impl<'__pin, T, F, Fut> Unpin for TryUnfold<T, F, Fut> where
__Origin<'__pin, T, F, Fut>: Unpin,
[src]
__Origin<'__pin, T, F, Fut>: Unpin,
Auto Trait Implementations
impl<T, F, Fut> RefUnwindSafe for TryUnfold<T, F, Fut> where
F: RefUnwindSafe,
Fut: RefUnwindSafe,
T: RefUnwindSafe,
F: RefUnwindSafe,
Fut: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F, Fut> Send for TryUnfold<T, F, Fut> where
F: Send,
Fut: Send,
T: Send,
F: Send,
Fut: Send,
T: Send,
impl<T, F, Fut> Sync for TryUnfold<T, F, Fut> where
F: Sync,
Fut: Sync,
T: Sync,
F: Sync,
Fut: Sync,
T: Sync,
impl<T, F, Fut> UnwindSafe for TryUnfold<T, F, Fut> where
F: UnwindSafe,
Fut: UnwindSafe,
T: UnwindSafe,
F: UnwindSafe,
Fut: UnwindSafe,
T: UnwindSafe,