pub struct EmbeddedReadSlice { /* private fields */ }Expand description
One stable byte slice captured during a batch read.
The slice owns a bytes::Bytes handle. Older versions stored raw pointers
into shard memory and relied on a separate guard to keep those pointers
valid; that made slice_meta() too easy to misuse. Keeping the backing
bytes here preserves the same read API while making the metadata object
independently memory-safe.
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddedReadSlice
impl Clone for EmbeddedReadSlice
Source§fn clone(&self) -> EmbeddedReadSlice
fn clone(&self) -> EmbeddedReadSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for EmbeddedReadSlice
impl RefUnwindSafe for EmbeddedReadSlice
impl Send for EmbeddedReadSlice
impl Sync for EmbeddedReadSlice
impl Unpin for EmbeddedReadSlice
impl UnsafeUnpin for EmbeddedReadSlice
impl UnwindSafe for EmbeddedReadSlice
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