pub enum ActionPollError<E> {
InvalidProgress,
ProgressRegressed,
ZeroDelay,
ObservationOverflow,
Terminal,
Policy(E),
}Expand description
Action observation or policy failure.
Variants§
InvalidProgress
Running provider progress exceeded 100.
ProgressRegressed
Running progress moved backwards across observations.
ZeroDelay
A caller policy requested a zero-duration busy loop.
ObservationOverflow
The observation counter overflowed.
Terminal
Polling was attempted after a terminal step.
Policy(E)
Caller policy failed.
Trait Implementations§
Source§impl<E: Clone> Clone for ActionPollError<E>
impl<E: Clone> Clone for ActionPollError<E>
Source§fn clone(&self) -> ActionPollError<E>
fn clone(&self) -> ActionPollError<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 ActionPollError<E>
Source§impl<E: Debug> Debug for ActionPollError<E>
impl<E: Debug> Debug for ActionPollError<E>
impl<E: Eq> Eq for ActionPollError<E>
Source§impl<E: PartialEq> PartialEq for ActionPollError<E>
impl<E: PartialEq> PartialEq for ActionPollError<E>
impl<E: PartialEq> StructuralPartialEq for ActionPollError<E>
Auto Trait Implementations§
impl<E> Freeze for ActionPollError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ActionPollError<E>where
E: RefUnwindSafe,
impl<E> Send for ActionPollError<E>where
E: Send,
impl<E> Sync for ActionPollError<E>where
E: Sync,
impl<E> Unpin for ActionPollError<E>where
E: Unpin,
impl<E> UnsafeUnpin for ActionPollError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for ActionPollError<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