pub enum ReceiveTimeoutError<E> {
Inner(E),
GenerationExhausted,
}Expand description
A controlled receive-timeout failure.
Variants§
Inner(E)
The inner fold or timeout reaction failed.
GenerationExhausted
Advancing the timer generation would make a stale delivery live again.
This is detected after the successful continuing inner user fold: the inner state mutation has occurred, but its returned sends and creations are not emitted because the composed transition fails. Bombay behavior folds are not transactional and wrappers cannot roll back inner state.
Trait Implementations§
Source§impl<E: Clone> Clone for ReceiveTimeoutError<E>
impl<E: Clone> Clone for ReceiveTimeoutError<E>
Source§fn clone(&self) -> ReceiveTimeoutError<E>
fn clone(&self) -> ReceiveTimeoutError<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 moreSource§impl<E: Debug> Debug for ReceiveTimeoutError<E>
impl<E: Debug> Debug for ReceiveTimeoutError<E>
impl<E: Eq> Eq for ReceiveTimeoutError<E>
Source§impl<E: PartialEq> PartialEq for ReceiveTimeoutError<E>
impl<E: PartialEq> PartialEq for ReceiveTimeoutError<E>
impl<E: PartialEq> StructuralPartialEq for ReceiveTimeoutError<E>
Auto Trait Implementations§
impl<E> Freeze for ReceiveTimeoutError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ReceiveTimeoutError<E>where
E: RefUnwindSafe,
impl<E> Send for ReceiveTimeoutError<E>where
E: Send,
impl<E> Sync for ReceiveTimeoutError<E>where
E: Sync,
impl<E> Unpin for ReceiveTimeoutError<E>where
E: Unpin,
impl<E> UnsafeUnpin for ReceiveTimeoutError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for ReceiveTimeoutError<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