StatusOccurredFn

Type Alias StatusOccurredFn 

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

Function signature for the Status Occured callback used by the XFS API.

Handles a status event that occurred on the device.

ยงParameters

  • status: the status that occurred on the device (e.g. bill inserted)
  • result: the result of the status event
  • extended_result: the extended result of the status event
  • callback_arg: callback call argument (may be the unit type if not supplied)