Skip to main content

TxSysIdCreateContext

Trait TxSysIdCreateContext 

Source
pub trait TxSysIdCreateContext: TxWriteContext {
    // Required method
    fn create_with_sys_id_raw(
        &mut self,
        kind: RecordKind,
        sys_id: SysId,
        data: Vec<u8>,
    ) -> Result<RecordKey, Self::Error>;
}
Expand description

Raw create capability that accepts a host-assigned system id.

Required Methods§

Source

fn create_with_sys_id_raw( &mut self, kind: RecordKind, sys_id: SysId, data: Vec<u8>, ) -> Result<RecordKey, Self::Error>

Creates a record with an explicit system id.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§