pub struct PlacementFaultFixture { /* private fields */ }Expand description
Deterministic placement fault fixture rendered by the inspector.
Implementations§
Source§impl PlacementFaultFixture
impl PlacementFaultFixture
Sourcepub fn new(
name: Symbol,
response: Symbol,
diagnostics: Vec<PlacementRuntimeDiagnostic>,
) -> Self
pub fn new( name: Symbol, response: Symbol, diagnostics: Vec<PlacementRuntimeDiagnostic>, ) -> Self
Builds a fault fixture with the given name, response, and diagnostics.
Sourcepub fn diagnostics(&self) -> &[PlacementRuntimeDiagnostic]
pub fn diagnostics(&self) -> &[PlacementRuntimeDiagnostic]
Returns the diagnostics emitted by this fault fixture.
Trait Implementations§
Source§impl Clone for PlacementFaultFixture
impl Clone for PlacementFaultFixture
Source§fn clone(&self) -> PlacementFaultFixture
fn clone(&self) -> PlacementFaultFixture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlacementFaultFixture
impl Debug for PlacementFaultFixture
impl Eq for PlacementFaultFixture
Source§impl PartialEq for PlacementFaultFixture
impl PartialEq for PlacementFaultFixture
impl StructuralPartialEq for PlacementFaultFixture
Auto Trait Implementations§
impl Freeze for PlacementFaultFixture
impl RefUnwindSafe for PlacementFaultFixture
impl Send for PlacementFaultFixture
impl Sync for PlacementFaultFixture
impl Unpin for PlacementFaultFixture
impl UnsafeUnpin for PlacementFaultFixture
impl UnwindSafe for PlacementFaultFixture
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.