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