pub struct LendWaiter<'m, T: ?Sized> { /* private fields */ }Expand description
A Future of the BorrowMutex which resolves as soon as any borrow request
is pending.
This structure is created by BorrowMutex::wait_to_lend().
Trait Implementations§
Source§impl<'m, T: ?Sized> Future for LendWaiter<'m, T>
impl<'m, T: ?Sized> Future for LendWaiter<'m, T>
impl<'g, T: ?Sized> Send for LendWaiter<'g, T>
Auto Trait Implementations§
impl<'m, T> Freeze for LendWaiter<'m, T>where
T: ?Sized,
impl<'m, T> !RefUnwindSafe for LendWaiter<'m, T>
impl<'m, T> !Sync for LendWaiter<'m, T>
impl<'m, T> Unpin for LendWaiter<'m, T>where
T: ?Sized,
impl<'m, T> !UnwindSafe for LendWaiter<'m, T>
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