Enum flipperzero_test::TestFailure
source · pub enum TestFailure {
AssertEq {
left: &'static str,
right: &'static str,
},
AssertNe {
left: &'static str,
right: &'static str,
},
Str(&'static str),
}
Expand description
A failure that occurred within a Flipper Zero test.
Variants§
Trait Implementations§
source§impl Debug for TestFailure
impl Debug for TestFailure
source§impl From<&'static str> for TestFailure
impl From<&'static str> for TestFailure
Auto Trait Implementations§
impl RefUnwindSafe for TestFailure
impl Send for TestFailure
impl Sync for TestFailure
impl Unpin for TestFailure
impl UnwindSafe for TestFailure
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