#[non_exhaustive]
pub enum GraphAnnisCoreError {
Show 24 variants
InvalidComponentType(String),
InvalidComponentDescriptionFormat(String),
LoadingAnnotationStorage {
path: String,
source: Error,
},
UnknownGraphStorageImpl(String),
EmptyComponentPath,
GraphMLMissingAnnotationKey(AnnoKey),
NonExclusiveComponentReference(String),
MissingComponent(String),
ComponentNotLoaded(String),
ReadOnlyComponent(String),
ModelError(ComponentTypeError),
BincodeSerialization(Error),
Io(Error),
PersistingTemporaryFile(PersistError),
SortedStringTable(Status),
Xml(Error),
LfuCache(String),
GraphUpdatePersistanceFileMissing,
BtreeIndex(Error),
IntConversion(TryFromIntError),
LockPoisoning(String),
FromUtf8Error(FromUtf8Error),
SymbolTableOverflow,
Other(Box<dyn Error + Send + Sync>),
}
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.
InvalidComponentType(String)
InvalidComponentDescriptionFormat(String)
LoadingAnnotationStorage
UnknownGraphStorageImpl(String)
EmptyComponentPath
GraphMLMissingAnnotationKey(AnnoKey)
NonExclusiveComponentReference(String)
MissingComponent(String)
ComponentNotLoaded(String)
ReadOnlyComponent(String)
ModelError(ComponentTypeError)
BincodeSerialization(Error)
Io(Error)
PersistingTemporaryFile(PersistError)
SortedStringTable(Status)
Xml(Error)
LfuCache(String)
GraphUpdatePersistanceFileMissing
BtreeIndex(Error)
IntConversion(TryFromIntError)
LockPoisoning(String)
FromUtf8Error(FromUtf8Error)
SymbolTableOverflow
Other(Box<dyn Error + Send + Sync>)
Trait Implementations
sourceimpl Debug for GraphAnnisCoreError
impl Debug for GraphAnnisCoreError
sourceimpl Display for GraphAnnisCoreError
impl Display for GraphAnnisCoreError
sourceimpl Error for GraphAnnisCoreError
impl Error for GraphAnnisCoreError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<ComponentTypeError> for GraphAnnisCoreError
impl From<ComponentTypeError> for GraphAnnisCoreError
sourcefn from(source: ComponentTypeError) -> Self
fn from(source: ComponentTypeError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
sourceimpl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
sourceimpl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
sourceimpl From<FromUtf8Error> for GraphAnnisCoreError
impl From<FromUtf8Error> for GraphAnnisCoreError
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<GraphAnnisCoreError> for ComponentTypeError
impl From<GraphAnnisCoreError> for ComponentTypeError
sourcefn from(e: GraphAnnisCoreError) -> Self
fn from(e: GraphAnnisCoreError) -> Self
Converts to this type from the input type.
sourceimpl From<PersistError> for GraphAnnisCoreError
impl From<PersistError> for GraphAnnisCoreError
sourcefn from(source: PersistError) -> Self
fn from(source: PersistError) -> Self
Converts to this type from the input type.
sourceimpl<T> From<PoisonError<T>> for GraphAnnisCoreError
impl<T> From<PoisonError<T>> for GraphAnnisCoreError
sourcefn from(e: PoisonError<T>) -> Self
fn from(e: PoisonError<T>) -> Self
Converts to this type from the input type.
sourceimpl From<Status> for GraphAnnisCoreError
impl From<Status> for GraphAnnisCoreError
sourceimpl From<TryFromIntError> for GraphAnnisCoreError
impl From<TryFromIntError> for GraphAnnisCoreError
sourcefn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for GraphAnnisCoreError
impl Send for GraphAnnisCoreError
impl Sync for GraphAnnisCoreError
impl Unpin for GraphAnnisCoreError
impl !UnwindSafe for GraphAnnisCoreError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more