OperationCompletedFn

Type Alias OperationCompletedFn 

Source
pub type OperationCompletedFn = fn(i32, i32, i32, i32, &mut dyn CallbackArg);
Expand description

Function signature for the Operation Completed callback used by the XFS API.

Handles device-sent messages indicating an asynchronous operation has completed.

ยงParameters

  • call_id: callback ID returned by the initial async call
  • operation_id: async operation ID to uniquely identify the type of call
  • result: the result status of the call
  • extended_result: the extended result of the call
  • callback_arg: callback call argument (may be the unit type if not supplied)