Module callback

Source
Expand description

Callback A BoxedCallback<Output> is a handle for waking up driver caller by notifying asynchronous task is completed.

This handle encapsulates a [FnOnce(Result<Output>)] instance, which defines the caller-specific wakeup behavior.

Structsยง

BoxedCallback
Type erased Callback wrapper struct
CallbackVTable
A virtual function pointer table (vtable) that specifies the behavior of a FnOnce(Result<Output>).