pub trait WaiterCurrentState<T> {
    fn waiter_current_state(&self) -> &T;
}
Expand description

Current state of the waiter.

Type T is the current state of the resource, and does not have to match type T of Waiter<T>.

Required Methods

Get the current representation of the resource.

Valid as of the last poll call.

Implementors