pub struct FsFaultConfig {
pub rules: Vec<FsFaultRule>,
}Expand description
Filesystem fault injection configuration.
Fields§
§rules: Vec<FsFaultRule>Ordered list of fault rules (first matching rule wins).
Trait Implementations§
Source§impl Clone for FsFaultConfig
impl Clone for FsFaultConfig
Source§fn clone(&self) -> FsFaultConfig
fn clone(&self) -> FsFaultConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FsFaultConfig
impl Debug for FsFaultConfig
Source§impl Default for FsFaultConfig
impl Default for FsFaultConfig
Source§fn default() -> FsFaultConfig
fn default() -> FsFaultConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FsFaultConfig
impl<'de> Deserialize<'de> for FsFaultConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FsFaultConfig
impl PartialEq for FsFaultConfig
Source§impl Serialize for FsFaultConfig
impl Serialize for FsFaultConfig
impl StructuralPartialEq for FsFaultConfig
Auto Trait Implementations§
impl Freeze for FsFaultConfig
impl RefUnwindSafe for FsFaultConfig
impl Send for FsFaultConfig
impl Sync for FsFaultConfig
impl Unpin for FsFaultConfig
impl UnsafeUnpin for FsFaultConfig
impl UnwindSafe for FsFaultConfig
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