pub enum ActionPollStep<E> {
Delay(Duration),
Complete,
Failed(E),
Cancelled,
TimedOut,
}Expand description
Step returned after one accepted observation.
Variants§
Delay(Duration)
The caller must wait before requesting the action again.
Complete
The action completed successfully.
Failed(E)
The provider reported a terminal action failure.
Cancelled
Caller policy cancelled polling.
TimedOut
Caller policy stopped polling at its deadline or attempt budget.
Trait Implementations§
Source§impl<E: Clone> Clone for ActionPollStep<E>
impl<E: Clone> Clone for ActionPollStep<E>
Source§fn clone(&self) -> ActionPollStep<E>
fn clone(&self) -> ActionPollStep<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<E: Copy> Copy for ActionPollStep<E>
Source§impl<E: Debug> Debug for ActionPollStep<E>
impl<E: Debug> Debug for ActionPollStep<E>
impl<E: Eq> Eq for ActionPollStep<E>
Source§impl<E: PartialEq> PartialEq for ActionPollStep<E>
impl<E: PartialEq> PartialEq for ActionPollStep<E>
impl<E: PartialEq> StructuralPartialEq for ActionPollStep<E>
Auto Trait Implementations§
impl<E> Freeze for ActionPollStep<E>where
E: Freeze,
impl<E> RefUnwindSafe for ActionPollStep<E>where
E: RefUnwindSafe,
impl<E> Send for ActionPollStep<E>where
E: Send,
impl<E> Sync for ActionPollStep<E>where
E: Sync,
impl<E> Unpin for ActionPollStep<E>where
E: Unpin,
impl<E> UnsafeUnpin for ActionPollStep<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for ActionPollStep<E>where
E: UnwindSafe,
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