pub struct Artifact {
pub result: Result_,
pub path: Option<PathBuf>,
}
Expand description
Combines the results of a long-running fuzzer workflow.
Fields§
§result: Result_
If status
is OK, indicates the outcome of the workflow; otherwise undefined.
path: Option<PathBuf>
The path to which the fuzzer input, if any, has been saved.
Implementations§
Source§impl Artifact
impl Artifact
Sourcepub fn ok() -> Self
pub fn ok() -> Self
Returns an artifact for a workflow that completed without producing results or data.
Sourcepub fn from_result(result: FuzzResult) -> Self
pub fn from_result(result: FuzzResult) -> Self
Returns an artifact for a workflow that produced a result without data.
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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