pub enum SimulatorFault {
Timeout,
Cancellation,
DroppedConnection,
CleanupFailure,
ResourceUnavailable,
}Expand description
A bounded failure condition that a test may inject at an explicit boundary.
The receiving Adapter or Plugin test support decides how to project this condition into its domain. The simulator does not invent transport, storage, or cleanup behavior on its behalf.
Variants§
Timeout
The operation’s configured deadline elapsed.
Cancellation
The caller or generation requested cooperative cancellation.
DroppedConnection
The peer disconnected before it observed a response.
CleanupFailure
Generation-owned cleanup reported a failure.
A required private resource could not be acquired.
Trait Implementations§
Source§impl Clone for SimulatorFault
impl Clone for SimulatorFault
impl Copy for SimulatorFault
Source§impl Debug for SimulatorFault
impl Debug for SimulatorFault
impl Eq for SimulatorFault
Source§impl PartialEq for SimulatorFault
impl PartialEq for SimulatorFault
impl StructuralPartialEq for SimulatorFault
Auto Trait Implementations§
impl Freeze for SimulatorFault
impl RefUnwindSafe for SimulatorFault
impl Send for SimulatorFault
impl Sync for SimulatorFault
impl Unpin for SimulatorFault
impl UnsafeUnpin for SimulatorFault
impl UnwindSafe for SimulatorFault
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.