pub struct AcquireFuture { /* private fields */ }Expand description
Future returned by PrioritySemaphore::acquire.
Dropping this future is cancellation-safe in every state, including after a permit has been assigned but before the executor polls it again.
Trait Implementations§
Source§impl Debug for AcquireFuture
impl Debug for AcquireFuture
Source§impl Drop for AcquireFuture
impl Drop for AcquireFuture
Source§impl Future for AcquireFuture
impl Future for AcquireFuture
Auto Trait Implementations§
impl !RefUnwindSafe for AcquireFuture
impl !UnwindSafe for AcquireFuture
impl Freeze for AcquireFuture
impl Send for AcquireFuture
impl Sync for AcquireFuture
impl Unpin for AcquireFuture
impl UnsafeUnpin for AcquireFuture
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