pub enum CapsuleTestError {
IncorrectResult,
ErrorCode(ErrorCode),
}
Expand description
Errors for the result of a failed test.
Variants§
IncorrectResult
The test computed some result (e.g., a checksum or hash) and the result is not correct (e.g., it doesn’t match the intended value, say the correct checksum or hash).
ErrorCode(ErrorCode)
An error occurred while running the test, and the resulting ErrorCode
is provided.
Auto Trait Implementations§
impl Freeze for CapsuleTestError
impl RefUnwindSafe for CapsuleTestError
impl Send for CapsuleTestError
impl Sync for CapsuleTestError
impl Unpin for CapsuleTestError
impl UnwindSafe for CapsuleTestError
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