pub struct OwnedAccessGuard<V: Value + 'static> { /* private fields */ }Expand description
An AccessGuard which also keeps the transaction alive
Returned by the reference-counted accessors of ReadOnlyTable and
crate::ReadOnlyMultimapTable, such as ReadOnlyTable::get_owned(): in addition to
providing access to the data, it keeps the read transaction alive until it is dropped.
Implementations§
Auto Trait Implementations§
impl<V> !RefUnwindSafe for OwnedAccessGuard<V>
impl<V> !UnwindSafe for OwnedAccessGuard<V>
impl<V> Freeze for OwnedAccessGuard<V>where
AccessGuard<'static, V>: Freeze,
impl<V> Send for OwnedAccessGuard<V>where
AccessGuard<'static, V>: Send,
impl<V> Sync for OwnedAccessGuard<V>where
AccessGuard<'static, V>: Sync,
impl<V> Unpin for OwnedAccessGuard<V>where
AccessGuard<'static, V>: Unpin,
impl<V> UnsafeUnpin for OwnedAccessGuard<V>where
AccessGuard<'static, V>: UnsafeUnpin,
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