Skip to main content

InjectedError

Trait InjectedError 

Source
pub trait InjectedError:
    Debug
    + Display
    + Send
    + Sync { }
Expand description

Trait for injected faults in testing

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> InjectedError for T
where T: Debug + Display + Send + Sync,

Available on crate feature testing-fault only.