pub struct DirectMapRefMut<'a, K: DirectKey, V> { /* private fields */ }Available on crate feature
concurrent only.Expand description
A mutable value reference holding its page’s write lock.
Calling another method that locks this page while holding the guard
deadlocks or panics. See ConcurrentDirectMap.
Implementations§
Trait Implementations§
Source§impl<K: DirectKey, V> Deref for DirectMapRefMut<'_, K, V>
impl<K: DirectKey, V> Deref for DirectMapRefMut<'_, K, V>
Auto Trait Implementations§
impl<'a, K, V> !Send for DirectMapRefMut<'a, K, V>
impl<'a, K, V> Forget for DirectMapRefMut<'a, K, V>
impl<'a, K, V> Freeze for DirectMapRefMut<'a, K, V>
impl<'a, K, V> Move for DirectMapRefMut<'a, K, V>
impl<'a, K, V> RefUnwindSafe for DirectMapRefMut<'a, K, V>
impl<'a, K, V> Sync for DirectMapRefMut<'a, K, V>
impl<'a, K, V> Unpin for DirectMapRefMut<'a, K, V>
impl<'a, K, V> UnsafeUnpin for DirectMapRefMut<'a, K, V>
impl<'a, K, V> UnwindSafe for DirectMapRefMut<'a, K, V>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more