Skip to content
API REFERENCEUsage guides →

cellpack::loader::AccessFn ​

type

Module contract · All interfaces

At a glance ​

pub type AccessFn = unsafe extern "C" fn(*mut c_void, u64, u64, *mut CellId) -> i32;

fn(context, start, count, out) -> status: writes the cells of accesses start..start + count to out; zero on success.

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition