pub enum TestsError {
JsonParse(Error),
Io(Error),
InvalidFormat {
message: String,
},
}Expand description
Errors that can occur during test log processing
Variants§
JsonParse(Error)
Error parsing JSON
Io(Error)
Error reading test output file
InvalidFormat
Invalid test result format
Trait Implementations§
Source§impl Debug for TestsError
impl Debug for TestsError
Source§impl Display for TestsError
impl Display for TestsError
Source§impl Error for TestsError
impl Error for TestsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for TestsError
impl From<Error> for TestsError
Auto Trait Implementations§
impl Freeze for TestsError
impl !RefUnwindSafe for TestsError
impl Send for TestsError
impl Sync for TestsError
impl Unpin for TestsError
impl !UnwindSafe for TestsError
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