pub struct DirectMapRef<'a, K: DirectKey, V> { /* private fields */ }Available on crate feature
concurrent only.Expand description
A value reference holding its page’s read lock.
Calling another method that locks this page while holding the guard may
deadlock or panic. See ConcurrentDirectMap.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, K, V> !Send for DirectMapRef<'a, K, V>
impl<'a, K, V> Forget for DirectMapRef<'a, K, V>
impl<'a, K, V> Freeze for DirectMapRef<'a, K, V>
impl<'a, K, V> Move for DirectMapRef<'a, K, V>
impl<'a, K, V> RefUnwindSafe for DirectMapRef<'a, K, V>
impl<'a, K, V> Sync for DirectMapRef<'a, K, V>
impl<'a, K, V> Unpin for DirectMapRef<'a, K, V>
impl<'a, K, V> UnsafeUnpin for DirectMapRef<'a, K, V>
impl<'a, K, V> UnwindSafe for DirectMapRef<'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