pub struct RecoverableHandle<R>(/* private fields */);Expand description
Recoverable handle which encapsulates a standard Proc Handle and contain all panics inside.
Execution of after_panic will be immediate on polling the RecoverableHandle’s future.
Implementations§
Source§impl<R> RecoverableHandle<R>
impl<R> RecoverableHandle<R>
Trait Implementations§
Source§impl<R> Debug for RecoverableHandle<R>
impl<R> Debug for RecoverableHandle<R>
Source§impl<R> Future for RecoverableHandle<R>
impl<R> Future for RecoverableHandle<R>
Auto Trait Implementations§
impl<R> !RefUnwindSafe for RecoverableHandle<R>
impl<R> !UnwindSafe for RecoverableHandle<R>
impl<R> Freeze for RecoverableHandle<R>
impl<R> Send for RecoverableHandle<R>
impl<R> Sync for RecoverableHandle<R>
impl<R> Unpin for RecoverableHandle<R>
impl<R> UnsafeUnpin for RecoverableHandle<R>
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more