pub struct ErrorHookFuture<Fut> { /* private fields */ }Expand description
A Future that reads the error hook that is set when it is created, and sets this as the
current error hook whenever it is polled.
Implementations§
Trait Implementations§
Source§impl<Fut> Future for ErrorHookFuture<Fut>where
Fut: Future,
impl<Fut> Future for ErrorHookFuture<Fut>where
Fut: Future,
impl<'__pin, Fut> Unpin for ErrorHookFuture<Fut>where
PinnedFieldsOf<__Origin<'__pin, Fut>>: Unpin,
Auto Trait Implementations§
impl<Fut> Freeze for ErrorHookFuture<Fut>where
Fut: Freeze,
impl<Fut> !RefUnwindSafe for ErrorHookFuture<Fut>
impl<Fut> Send for ErrorHookFuture<Fut>where
Fut: Send,
impl<Fut> Sync for ErrorHookFuture<Fut>where
Fut: Sync,
impl<Fut> !UnwindSafe for ErrorHookFuture<Fut>
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