pub struct OwnedEmbeddedWorkerReadSession<'a> { /* private fields */ }Expand description
Long-lived worker-local read session for the absolute max embedded read path.
This keeps shard-local read epochs open across many routed lookups so the caller can avoid begin/end-epoch overhead on every individual read. It is intended for worker-owned read-heavy loops, not mixed read/write traffic.
Implementations§
Source§impl<'a> OwnedEmbeddedWorkerReadSession<'a>
impl<'a> OwnedEmbeddedWorkerReadSession<'a>
pub fn get_ref_no_ttl_routed( &mut self, route: EmbeddedKeyRoute, key: &[u8], ) -> Option<&[u8]>
Trait Implementations§
Source§impl<'a> Debug for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> Debug for OwnedEmbeddedWorkerReadSession<'a>
Source§impl Drop for OwnedEmbeddedWorkerReadSession<'_>
impl Drop for OwnedEmbeddedWorkerReadSession<'_>
Auto Trait Implementations§
impl<'a> Freeze for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> RefUnwindSafe for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> Send for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> Sync for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> Unpin for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> UnsafeUnpin for OwnedEmbeddedWorkerReadSession<'a>
impl<'a> !UnwindSafe for OwnedEmbeddedWorkerReadSession<'a>
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