pub struct ReentrantMutexLock<'a, T: ?Sized> { /* private fields */ }Expand description
The future ReentrantMutex::lock returns.
Trait Implementations§
Source§impl<T: ?Sized> Debug for ReentrantMutexLock<'_, T>
impl<T: ?Sized> Debug for ReentrantMutexLock<'_, T>
Source§impl<T: ?Sized> Drop for ReentrantMutexLock<'_, T>
impl<T: ?Sized> Drop for ReentrantMutexLock<'_, T>
Source§impl<'a, T: ?Sized> Future for ReentrantMutexLock<'a, T>
impl<'a, T: ?Sized> Future for ReentrantMutexLock<'a, T>
Source§type Output = ReentrantMutexGuard<'a, T>
type Output = ReentrantMutexGuard<'a, T>
The type of value produced on completion.
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for ReentrantMutexLock<'a, T>
impl<'a, T> !Send for ReentrantMutexLock<'a, T>
impl<'a, T> !Sync for ReentrantMutexLock<'a, T>
impl<'a, T> !UnwindSafe for ReentrantMutexLock<'a, T>
impl<'a, T> Freeze for ReentrantMutexLock<'a, T>where
T: ?Sized,
impl<'a, T> Unpin for ReentrantMutexLock<'a, T>where
T: ?Sized,
impl<'a, T> UnsafeUnpin for ReentrantMutexLock<'a, T>where
T: ?Sized,
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