pub type WrappedWorkload = FDBWorkload;Expand description
Rust representation of a FoundationDB workload
Aliased Type§
#[repr(C)]pub struct WrappedWorkload {
pub inner: *mut Opaque_workload,
pub setup: Option<unsafe extern "C" fn(*mut Opaque_workload, *mut FDB_database, FDBPromise)>,
pub start: Option<unsafe extern "C" fn(*mut Opaque_workload, *mut FDB_database, FDBPromise)>,
pub check: Option<unsafe extern "C" fn(*mut Opaque_workload, *mut FDB_database, FDBPromise)>,
pub getMetrics: Option<unsafe extern "C" fn(*mut Opaque_workload, FDBMetrics)>,
pub getCheckTimeout: Option<unsafe extern "C" fn(*mut Opaque_workload) -> f64>,
pub free: Option<unsafe extern "C" fn(*mut Opaque_workload)>,
}Fields§
§inner: *mut Opaque_workload§setup: Option<unsafe extern "C" fn(*mut Opaque_workload, *mut FDB_database, FDBPromise)>§start: Option<unsafe extern "C" fn(*mut Opaque_workload, *mut FDB_database, FDBPromise)>§check: Option<unsafe extern "C" fn(*mut Opaque_workload, *mut FDB_database, FDBPromise)>§getMetrics: Option<unsafe extern "C" fn(*mut Opaque_workload, FDBMetrics)>§getCheckTimeout: Option<unsafe extern "C" fn(*mut Opaque_workload) -> f64>§free: Option<unsafe extern "C" fn(*mut Opaque_workload)>