#[unsafe(no_mangle)]
pub unsafe extern "C" fn block_server_new(
partition_info: &PartitionInfo,
callbacks: Callbacks,
) -> *mut BlockServer
Expand description
ยงSafety
All callbacks in callbacks
must be safe.
#[unsafe(no_mangle)]
pub unsafe extern "C" fn block_server_new(
partition_info: &PartitionInfo,
callbacks: Callbacks,
) -> *mut BlockServer
All callbacks in callbacks
must be safe.