Trait waiter::WaiterCurrentState
source · 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
sourcefn waiter_current_state(&self) -> &T
fn waiter_current_state(&self) -> &T
Get the current representation of the resource.
Valid as of the last poll
call.