pub struct FnInterruptStep<F>(pub F);Expand description
Closure-friendly InterruptibleStep.
Tuple Fields§
§0: FTrait Implementations§
Source§impl<F, Fut> InterruptibleStep for FnInterruptStep<F>
impl<F, Fut> InterruptibleStep for FnInterruptStep<F>
Auto Trait Implementations§
impl<F> Freeze for FnInterruptStep<F>where
F: Freeze,
impl<F> RefUnwindSafe for FnInterruptStep<F>where
F: RefUnwindSafe,
impl<F> Send for FnInterruptStep<F>where
F: Send,
impl<F> Sync for FnInterruptStep<F>where
F: Sync,
impl<F> Unpin for FnInterruptStep<F>where
F: Unpin,
impl<F> UnsafeUnpin for FnInterruptStep<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FnInterruptStep<F>where
F: UnwindSafe,
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