pub enum DynamicMockError<E> {
Exhausted,
ConcurrentRequest,
Builder(E),
Fixture(MockError),
CursorOverflow,
}Expand description
Dynamic mock failure. Builder details are never rendered by Debug or Display.
Variants§
Exhausted
The caller-owned bounded record capacity is exhausted.
ConcurrentRequest
A request is already selecting or staging the current scenario step.
Builder(E)
The provider fixture builder rejected the request.
Fixture(MockError)
The selected fixture could not be staged.
CursorOverflow
Internal successful-sequence arithmetic failed closed.
Trait Implementations§
Source§impl<E> Debug for DynamicMockError<E>
impl<E> Debug for DynamicMockError<E>
Source§impl<E> Display for DynamicMockError<E>
impl<E> Display for DynamicMockError<E>
Source§impl<E> Error for DynamicMockError<E>
impl<E> Error for DynamicMockError<E>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<E> Freeze for DynamicMockError<E>where
E: Freeze,
impl<E> RefUnwindSafe for DynamicMockError<E>where
E: RefUnwindSafe,
impl<E> Send for DynamicMockError<E>where
E: Send,
impl<E> Sync for DynamicMockError<E>where
E: Sync,
impl<E> Unpin for DynamicMockError<E>where
E: Unpin,
impl<E> UnsafeUnpin for DynamicMockError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for DynamicMockError<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