pub struct AcquireFutureArc { /* private fields */ }
Expand description
A Future
returned by Semaphore::acquire_arc
that produces a SemaphoreGuardArc
.
Trait Implementations§
Source§impl Debug for AcquireFutureArc
impl Debug for AcquireFutureArc
Source§impl Future for AcquireFutureArc
impl Future for AcquireFutureArc
Source§type Output = Result<SemaphoreGuardArc, PoisonError>
type Output = Result<SemaphoreGuardArc, PoisonError>
The type of value produced on completion.
Auto Trait Implementations§
impl !Freeze for AcquireFutureArc
impl RefUnwindSafe for AcquireFutureArc
impl Send for AcquireFutureArc
impl Sync for AcquireFutureArc
impl !Unpin for AcquireFutureArc
impl UnwindSafe for AcquireFutureArc
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