pub struct AcquireOwned { /* private fields */ }Expand description
The future Semaphore::acquire_owned and
Semaphore::acquire_many_owned return.
Trait Implementations§
Source§impl Debug for AcquireOwned
impl Debug for AcquireOwned
Source§impl Drop for AcquireOwned
impl Drop for AcquireOwned
Source§impl Future for AcquireOwned
impl Future for AcquireOwned
Source§type Output = Result<OwnedSemaphorePermit, AcquireError>
type Output = Result<OwnedSemaphorePermit, AcquireError>
The type of value produced on completion.
Auto Trait Implementations§
impl !RefUnwindSafe for AcquireOwned
impl !UnwindSafe for AcquireOwned
impl Freeze for AcquireOwned
impl Send for AcquireOwned
impl Sync for AcquireOwned
impl Unpin for AcquireOwned
impl UnsafeUnpin for AcquireOwned
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