pub struct FutureChain<T> { /* private fields */ }Expand description
A chain of lazy computations that can be built up and then forced.
Each step maps the previous value to the next. This is a simplified synchronous “future” / continuation chain.
Implementations§
Source§impl<T: 'static> FutureChain<T>
impl<T: 'static> FutureChain<T>
Sourcepub fn step_count(&self) -> usize
pub fn step_count(&self) -> usize
Number of steps in the chain.
Auto Trait Implementations§
impl<T> Freeze for FutureChain<T>
impl<T> !RefUnwindSafe for FutureChain<T>
impl<T> !Send for FutureChain<T>
impl<T> !Sync for FutureChain<T>
impl<T> Unpin for FutureChain<T>
impl<T> UnsafeUnpin for FutureChain<T>
impl<T> !UnwindSafe for FutureChain<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more