pub struct NativeRecord { /* private fields */ }Expand description
One evaluated native row in the provider’s record encoding. Its charged buffers can be borrowed by common storage’s conditional commit preparation.
Implementations§
Source§impl NativeRecord
impl NativeRecord
pub fn encode( family: NativeRecordFamily, owner: NativeRecordOwner, values: &[ValueRef<'_>], control: &StorageReadControl, ) -> VersionResult<Self>
pub fn key(&self) -> &[u8] ⓘ
pub fn row(&self) -> &[u8] ⓘ
pub fn write(&self, expected: Option<CommitSequence>) -> RecordWrite<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NativeRecord
impl RefUnwindSafe for NativeRecord
impl Send for NativeRecord
impl Sync for NativeRecord
impl Unpin for NativeRecord
impl UnsafeUnpin for NativeRecord
impl UnwindSafe for NativeRecord
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