pub struct KeyValueOccurrenceRecords;Trait Implementations§
Source§impl OccurrenceRecordLayout for KeyValueOccurrenceRecords
impl OccurrenceRecordLayout for KeyValueOccurrenceRecords
fn kind(&self, key: &[u8], control: &StorageReadControl) -> VersionResult<Kind>
fn decode<'a>( &self, key: &[u8], value: &'a [u8], control: &StorageReadControl, ) -> VersionResult<Value<'a>>
Source§fn encode(
&self,
key: &[u8],
_template: &[u8],
value: Value<'_>,
control: &StorageReadControl,
) -> VersionResult<BudgetedVec<u8>>
fn encode( &self, key: &[u8], _template: &[u8], value: Value<'_>, control: &StorageReadControl, ) -> VersionResult<BudgetedVec<u8>>
Encode the merged value with the key and immutable row fields from an original, evaluated or current record. This may enforce narrower native scalar bounds before any publication occurs.
Auto Trait Implementations§
impl Freeze for KeyValueOccurrenceRecords
impl RefUnwindSafe for KeyValueOccurrenceRecords
impl Send for KeyValueOccurrenceRecords
impl Sync for KeyValueOccurrenceRecords
impl Unpin for KeyValueOccurrenceRecords
impl UnsafeUnpin for KeyValueOccurrenceRecords
impl UnwindSafe for KeyValueOccurrenceRecords
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