pub enum AnalyzeBuild {
Completed {
files: Vec<FileAnalysis>,
scanned_files: usize,
},
Cancelled {
scanned_files: usize,
},
Failed {
message: String,
},
}Expand description
Outcome of a cancellable source-analysis build.
Variants§
Completed
Every analyzable path was scanned.
Fields
§
files: Vec<FileAnalysis>Successfully loaded file analyses, sorted by path.
Cancelled
Cancellation stopped analysis before results could be published.
Failed
The source root was invalid or an analysis worker panicked.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnalyzeBuild
impl RefUnwindSafe for AnalyzeBuild
impl Send for AnalyzeBuild
impl Sync for AnalyzeBuild
impl Unpin for AnalyzeBuild
impl UnsafeUnpin for AnalyzeBuild
impl UnwindSafe for AnalyzeBuild
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