#[repr(C)]pub struct RuntimeReadVTableV1 {
pub with_read_typed_raw: unsafe extern "C" fn(ctx_ptr: *const c_void, record_kind: RecordKind, sys_id: SysId, visitor_ctx: *mut c_void, visitor: RuntimeBytesVisitor, out_found: *mut bool, out_error: *mut RuntimeErrorBuf) -> RuntimeCallStatus,
pub with_read_typed_by_pk_raw: unsafe extern "C" fn(ctx_ptr: *const c_void, record_kind: RecordKind, pk: RuntimeBytesRef, visitor_ctx: *mut c_void, visitor: RuntimeBytesVisitor, out_found: *mut bool, out_error: *mut RuntimeErrorBuf) -> RuntimeCallStatus,
pub for_each_record_key_raw: unsafe extern "C" fn(ctx_ptr: *const c_void, kind: RecordKind, visitor_ctx: *mut c_void, visitor: RuntimeRecordKeyVisitor, out_error: *mut RuntimeErrorBuf) -> RuntimeCallStatus,
}Expand description
Read-only host vtable exposed to invariant validation.
Fields§
§with_read_typed_raw: unsafe extern "C" fn(ctx_ptr: *const c_void, record_kind: RecordKind, sys_id: SysId, visitor_ctx: *mut c_void, visitor: RuntimeBytesVisitor, out_found: *mut bool, out_error: *mut RuntimeErrorBuf) -> RuntimeCallStatusRead by system id.
with_read_typed_by_pk_raw: unsafe extern "C" fn(ctx_ptr: *const c_void, record_kind: RecordKind, pk: RuntimeBytesRef, visitor_ctx: *mut c_void, visitor: RuntimeBytesVisitor, out_found: *mut bool, out_error: *mut RuntimeErrorBuf) -> RuntimeCallStatusRead by primary key.
for_each_record_key_raw: unsafe extern "C" fn(ctx_ptr: *const c_void, kind: RecordKind, visitor_ctx: *mut c_void, visitor: RuntimeRecordKeyVisitor, out_error: *mut RuntimeErrorBuf) -> RuntimeCallStatusIterate record keys for one kind.
Auto Trait Implementations§
impl Freeze for RuntimeReadVTableV1
impl RefUnwindSafe for RuntimeReadVTableV1
impl Send for RuntimeReadVTableV1
impl Sync for RuntimeReadVTableV1
impl Unpin for RuntimeReadVTableV1
impl UnsafeUnpin for RuntimeReadVTableV1
impl UnwindSafe for RuntimeReadVTableV1
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