Struct recloser::RecloserFuture
source · pub struct RecloserFuture<F, P> { /* private fields */ }
Expand description
Custom Future
returned by AsyncRecloser
wrapped future calls.
Trait Implementations§
source§impl<F, T, E, P> Future for RecloserFuture<F, P>
impl<F, T, E, P> Future for RecloserFuture<F, P>
impl<'pin, F, P> Unpin for RecloserFuture<F, P>where
__RecloserFuture<'pin, F, P>: Unpin,
Auto Trait Implementations§
impl<F, P> RefUnwindSafe for RecloserFuture<F, P>where
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<F, P> Send for RecloserFuture<F, P>
impl<F, P> Sync for RecloserFuture<F, P>
impl<F, P> UnwindSafe for RecloserFuture<F, P>where
F: UnwindSafe,
P: 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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§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