pub enum State {
Idle,
Pending,
Finished,
}
Expand description
Represents the execution state of an asynchronous operation managed by Bind
.
Variants§
Idle
No operation is running, and no data is available from a previous run.
Pending
An operation is currently in-flight.
Finished
An operation has completed, and its result (success or error) is available.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more