pub enum OracleError {
Sqlite(Error),
Store(StoreError),
NotCodegraph(String),
}Expand description
Errors raised while comparing against a codegraph snapshot.
Variants§
Sqlite(Error)
Reading the codegraph snapshot failed.
Store(StoreError)
Reading the Roteiro store failed.
NotCodegraph(String)
The file is not a recognisable codegraph snapshot.
Trait Implementations§
Source§impl Debug for OracleError
impl Debug for OracleError
Source§impl Display for OracleError
impl Display for OracleError
Source§impl Error for OracleError
impl Error for OracleError
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<Error> for OracleError
impl From<Error> for OracleError
Source§impl From<StoreError> for OracleError
impl From<StoreError> for OracleError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OracleError
impl !UnwindSafe for OracleError
impl Freeze for OracleError
impl Send for OracleError
impl Sync for OracleError
impl Unpin for OracleError
impl UnsafeUnpin for OracleError
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