UnitCompletion

Type Alias UnitCompletion 

Source
pub type UnitCompletion = SyncCompletion<()>;
Expand description

Unit completion - for operations that return success/error without a value

Aliased Type§

pub struct UnitCompletion { /* private fields */ }

Implementations§

Source§

impl UnitCompletion

Source

pub extern "C" fn callback( context: *mut c_void, success: bool, msg: *const i8, )

C callback for operations that return (context, success, error_msg)

This can be used directly as an FFI callback function.