pub enum SignalOrComplete<F: Future> {
ShutdownSignal(F),
Completed(F::Output),
}
Expand description
Reports whether a future managed to complete without interuption, or if there was a shutdown signal
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for SignalOrComplete<F>
impl<F> RefUnwindSafe for SignalOrComplete<F>
impl<F> Send for SignalOrComplete<F>
impl<F> Sync for SignalOrComplete<F>
impl<F> Unpin for SignalOrComplete<F>
impl<F> UnwindSafe for SignalOrComplete<F>
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