pub struct SetRef<'set, T, const N: usize = DEFAULT_PAGE_CAPACITY> { /* private fields */ }Expand description
A read guard for one value stored in a BLinkSet.
The guard owns the underlying map entry guard and therefore read-locks the entire leaf until it is dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'set, T, const N: usize = DEFAULT_PAGE_CAPACITY> !RefUnwindSafe for SetRef<'set, T, N>
impl<'set, T, const N: usize = DEFAULT_PAGE_CAPACITY> !Send for SetRef<'set, T, N>
impl<'set, T, const N: usize = DEFAULT_PAGE_CAPACITY> !UnwindSafe for SetRef<'set, T, N>
impl<'set, T, const N: usize> Freeze for SetRef<'set, T, N>
impl<'set, T, const N: usize> Sync for SetRef<'set, T, N>
impl<'set, T, const N: usize> Unpin for SetRef<'set, T, N>
impl<'set, T, const N: usize> UnsafeUnpin for SetRef<'set, T, N>
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