Enum wgpu_test::FailureBehavior
source · pub enum FailureBehavior {
AssertFailure,
Ignore,
}
Variants§
AssertFailure
Assert that the test fails for the given reason.
If the test passes, the test harness will panic.
Ignore
Ignore the matching failure.
This is useful for tests that flake in a very specific way, but sometimes succeed, so we can’t assert that they always fail.
Trait Implementations§
source§impl Clone for FailureBehavior
impl Clone for FailureBehavior
source§fn clone(&self) -> FailureBehavior
fn clone(&self) -> FailureBehavior
Returns a copy 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 Default for FailureBehavior
impl Default for FailureBehavior
source§fn default() -> FailureBehavior
fn default() -> FailureBehavior
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FailureBehavior
impl Send for FailureBehavior
impl Sync for FailureBehavior
impl Unpin for FailureBehavior
impl UnwindSafe for FailureBehavior
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