Type Definition drmem_api::driver::SettingReply
source · pub type SettingReply<T> = Box<dyn FnOnce(Result<T>) + Send>;
Expand description
A closure type that defines how a driver replies to a setting
request. It can return Ok()
to show what value was actually used
or Err()
to indicate the setting failed.