pub struct FaultSpec {
pub id: FaultId,
pub applies_to: &'static str,
pub effect: &'static str,
pub options: &'static [FaultOptionSpec],
}Expand description
A catalogue entry: one row of PRD section 10.
Fields§
§id: FaultIdThe fault ID.
applies_to: &'static strThe devices it applies to, as written in the catalogue (e.g. serial, USB printers).
effect: &'static strThe observable effect.
options: &'static [FaultOptionSpec]Accepted options, empty if none.
Trait Implementations§
impl StructuralPartialEq for FaultSpec
Auto Trait Implementations§
impl Freeze for FaultSpec
impl RefUnwindSafe for FaultSpec
impl Send for FaultSpec
impl Sync for FaultSpec
impl Unpin for FaultSpec
impl UnsafeUnpin for FaultSpec
impl UnwindSafe for FaultSpec
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