pub enum IndexBuild {
Completed(SymbolIndex),
Cancelled {
scanned_files: usize,
},
Failed {
message: String,
},
}Expand description
Outcome of a cancellable symbol-index build.
Variants§
Completed(SymbolIndex)
Every indexable path was scanned.
Cancelled
Cancellation stopped the build before it could publish an index.
Failed
The source root was invalid or an indexing worker panicked.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for IndexBuild
impl !RefUnwindSafe for IndexBuild
impl Send for IndexBuild
impl Sync for IndexBuild
impl Unpin for IndexBuild
impl UnsafeUnpin for IndexBuild
impl UnwindSafe for IndexBuild
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