pub enum CollectTestsError {
InvalidTestName(InvalidTestNameError),
Io(PathedIoError),
Regex(Error),
NoTestsFound,
MissingDirectoryTestFile {
dir_path: PathBuf,
file_name: String,
},
}
Variants§
InvalidTestName(InvalidTestNameError)
Io(PathedIoError)
Regex(Error)
NoTestsFound
MissingDirectoryTestFile
Trait Implementations§
source§impl Debug for CollectTestsError
impl Debug for CollectTestsError
source§impl Display for CollectTestsError
impl Display for CollectTestsError
source§impl Error for CollectTestsError
impl Error for CollectTestsError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 CollectTestsError
impl From<Error> for CollectTestsError
source§impl From<InvalidTestNameError> for CollectTestsError
impl From<InvalidTestNameError> for CollectTestsError
source§fn from(source: InvalidTestNameError) -> Self
fn from(source: InvalidTestNameError) -> Self
Converts to this type from the input type.
source§impl From<PathedIoError> for CollectTestsError
impl From<PathedIoError> for CollectTestsError
source§fn from(source: PathedIoError) -> Self
fn from(source: PathedIoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollectTestsError
impl !RefUnwindSafe for CollectTestsError
impl Send for CollectTestsError
impl Sync for CollectTestsError
impl Unpin for CollectTestsError
impl !UnwindSafe for CollectTestsError
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