pub enum NewProbeError {
WorkDirMetadataInaccessible(Error),
WorkDirNotADirectory(PathBuf),
}
Expand description
Errors that can occur during probe construction.
Variants§
WorkDirMetadataInaccessible(Error)
Error returned if we cannot get the metadata for a work directory.
WorkDirNotADirectory(PathBuf)
Error returned if the path given for a work directory does not actually correspond to a directory.
Trait Implementations§
Source§impl Debug for NewProbeError
impl Debug for NewProbeError
Source§impl Display for NewProbeError
impl Display for NewProbeError
Source§impl Error for NewProbeError
impl Error for NewProbeError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for NewProbeError
impl !RefUnwindSafe for NewProbeError
impl Send for NewProbeError
impl Sync for NewProbeError
impl Unpin for NewProbeError
impl !UnwindSafe for NewProbeError
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