[−][src]Struct recloser::RecloserFuture
Custom Future
returned by AsyncRecloser
wrapped future calls.
Trait Implementations
impl<F, T, E, P> Future for RecloserFuture<F, P> where
F: Future<Output = Result<T, E>>,
P: ErrorPredicate<E>,
[src]
F: Future<Output = Result<T, E>>,
P: ErrorPredicate<E>,
type Output = Result<T, Error<E>>
The type of value produced on completion.
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
[src]
impl<F, P> PinnedDrop for RecloserFuture<F, P>
[src]
impl<'pin, F, P> Unpin for RecloserFuture<F, P> where
__RecloserFuture<'pin, F, P>: Unpin,
[src]
__RecloserFuture<'pin, F, P>: Unpin,
impl<F, P> UnsafeUnpin for RecloserFuture<F, P>
[src]
Auto Trait Implementations
impl<F, P> RefUnwindSafe for RecloserFuture<F, P> where
F: RefUnwindSafe,
P: RefUnwindSafe,
F: RefUnwindSafe,
P: RefUnwindSafe,
impl<F, P> Send for RecloserFuture<F, P> where
F: Send,
P: Send,
F: Send,
P: Send,
impl<F, P> Sync for RecloserFuture<F, P> where
F: Sync,
P: Sync,
F: Sync,
P: Sync,
impl<F, P> UnwindSafe for RecloserFuture<F, P> where
F: UnwindSafe,
P: UnwindSafe,
F: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src]
F: Future,
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
fn into_future(self) -> <F as IntoFuture>::Future
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,