pub enum ArtifactWriteError {
DirCreate {
path: String,
source: Error,
},
FileWrite {
path: String,
source: Error,
},
Serialize(Error),
}Expand description
Errors encountered while writing artifacts.
Variants§
DirCreate
Failed to create a parent directory for a path.
FileWrite
Failed writing an output file.
Serialize(Error)
Failed to serialize report JSON.
Trait Implementations§
Source§impl Debug for ArtifactWriteError
impl Debug for ArtifactWriteError
Source§impl Display for ArtifactWriteError
impl Display for ArtifactWriteError
Source§impl Error for ArtifactWriteError
impl Error for ArtifactWriteError
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()
Auto Trait Implementations§
impl Freeze for ArtifactWriteError
impl !RefUnwindSafe for ArtifactWriteError
impl Send for ArtifactWriteError
impl Sync for ArtifactWriteError
impl Unpin for ArtifactWriteError
impl UnsafeUnpin for ArtifactWriteError
impl !UnwindSafe for ArtifactWriteError
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