#[non_exhaustive]pub enum IndexingError {
Storage(StorageError),
DependencyIndex(DependencyIndexError),
Xref(String),
Io(Error),
}Expand description
Errors produced by IndexingCoordinator.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Storage(StorageError)
An error from the underlying storage layer.
DependencyIndex(DependencyIndexError)
An error from the dependency index database.
Xref(String)
An error from the cross-project reference graph.
Io(Error)
An I/O error.
Trait Implementations§
Source§impl Debug for IndexingError
impl Debug for IndexingError
Source§impl Display for IndexingError
impl Display for IndexingError
Source§impl Error for IndexingError
impl Error for IndexingError
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()
Source§impl From<DependencyIndexError> for IndexingError
impl From<DependencyIndexError> for IndexingError
Source§fn from(source: DependencyIndexError) -> Self
fn from(source: DependencyIndexError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for IndexingError
impl From<Error> for IndexingError
Source§impl From<StorageError> for IndexingError
impl From<StorageError> for IndexingError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IndexingError
impl !UnwindSafe for IndexingError
impl Freeze for IndexingError
impl Send for IndexingError
impl Sync for IndexingError
impl Unpin for IndexingError
impl UnsafeUnpin for IndexingError
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