Crate sfio_promise

Source
Expand description

Helpers types and functions for making oo-bindgen future interfaces drop-safe.

Structs§

Promise
A Promise is a type that is guaranteed to complete its underlying FutureType, even if it is dropped.

Traits§

FutureType
Types convertible to a Promise must implement this type

Functions§

wrap
Wrap a type that implements FutureType into a drop-safe promise