Type Alias CbResult
pub type CbResult<T> = Result<T, Cancelled>;Expand description
The return type used by the callback functions defined in the FapiCallbacks trait.
A callback function returns a CbResult<T> where the type T is specific to the individual callback function.
The application may return Err(Cancelled), if the operation was cancelled.
Otherwise, if the operation proceeds, the application shall return Ok(value) where value is the callback-specific result.
Aliased Type§
pub enum CbResult<T> {
Ok(T),
Err(Cancelled),
}