Struct futures_util::stream::TryUnfold
source · [−]pub struct TryUnfold<T, F, Fut> { /* private fields */ }
Expand description
Stream for the try_unfold
function.
Trait Implementations
sourceimpl<T, F, Fut, Item> Stream for TryUnfold<T, F, Fut>where
F: FnMut(T) -> Fut,
Fut: TryFuture<Ok = Option<(Item, T)>>,
impl<T, F, Fut, Item> Stream for TryUnfold<T, F, Fut>where
F: FnMut(T) -> Fut,
Fut: TryFuture<Ok = Option<(Item, T)>>,
impl<'__pin, T, F, Fut> Unpin for TryUnfold<T, F, Fut>where
__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,
impl<T, F, Fut> Send for TryUnfold<T, F, Fut>where
F: Send,
Fut: Send,
T: Send,
impl<T, F, Fut> Sync for TryUnfold<T, F, Fut>where
F: Sync,
Fut: Sync,
T: Sync,
impl<T, F, Fut> UnwindSafe for TryUnfold<T, F, Fut>where
F: UnwindSafe,
Fut: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more