pub struct RelationalLinkedChunk<Item, Gap> { /* private fields */ }
Expand description
A LinkedChunk
but with a relational layout, similar to what we
would have in a database.
This is used by memory stores. The idea is to have a data layout that is
similar for memory stores and for relational database stores, to represent a
LinkedChunk
.
This type is also designed to receive Update
. Applying Update
s
directly on a LinkedChunk
is not ideal and particularly not trivial as
the Update
s do not match the internal data layout of the LinkedChunk
,
they have been designed for storages, like a relational database for
example.
This type is not as performant as LinkedChunk
(in terms of memory
layout, CPU caches etc.). It is only designed to be used in memory stores,
which are mostly used for test purposes or light usage of the SDK.
Implementations§
Source§impl<Item, Gap> RelationalLinkedChunk<Item, Gap>
impl<Item, Gap> RelationalLinkedChunk<Item, Gap>
Source§impl<Item, Gap> RelationalLinkedChunk<Item, Gap>
impl<Item, Gap> RelationalLinkedChunk<Item, Gap>
Trait Implementations§
Auto Trait Implementations§
impl<Item, Gap> Freeze for RelationalLinkedChunk<Item, Gap>
impl<Item, Gap> RefUnwindSafe for RelationalLinkedChunk<Item, Gap>where
Item: RefUnwindSafe,
Gap: RefUnwindSafe,
impl<Item, Gap> Send for RelationalLinkedChunk<Item, Gap>
impl<Item, Gap> Sync for RelationalLinkedChunk<Item, Gap>
impl<Item, Gap> Unpin for RelationalLinkedChunk<Item, Gap>
impl<Item, Gap> UnwindSafe for RelationalLinkedChunk<Item, Gap>where
Item: UnwindSafe,
Gap: UnwindSafe,
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>