#[non_exhaustive]pub enum GraphAnnisCoreError {
Show 29 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),
XmlAttr(AttrError),
LfuCache(String),
GraphUpdatePersistanceFileMissing,
BtreeIndex(Error),
IntConversion(TryFromIntError),
SliceConversion(TryFromSliceError),
LockPoisoning(String),
FromUtf8Error(FromUtf8Error),
Utf8Error(Utf8Error),
SymbolTableOverflow,
UnknownAnnoKeySymbolId(usize),
ZeroCacheSize,
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)
XmlAttr(AttrError)
LfuCache(String)
GraphUpdatePersistanceFileMissing
BtreeIndex(Error)
IntConversion(TryFromIntError)
SliceConversion(TryFromSliceError)
LockPoisoning(String)
FromUtf8Error(FromUtf8Error)
Utf8Error(Utf8Error)
SymbolTableOverflow
UnknownAnnoKeySymbolId(usize)
ZeroCacheSize
Other(Box<dyn Error + Send + Sync>)
Trait Implementations§
source§impl Debug for GraphAnnisCoreError
impl Debug for GraphAnnisCoreError
source§impl Display for GraphAnnisCoreError
impl Display for GraphAnnisCoreError
source§impl Error for GraphAnnisCoreError
impl Error for GraphAnnisCoreError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<AttrError> for GraphAnnisCoreError
impl From<AttrError> for GraphAnnisCoreError
source§impl From<ComponentTypeError> for GraphAnnisCoreError
impl From<ComponentTypeError> for GraphAnnisCoreError
source§fn from(source: ComponentTypeError) -> Self
fn from(source: ComponentTypeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
source§impl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
source§impl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
source§impl From<FromUtf8Error> for GraphAnnisCoreError
impl From<FromUtf8Error> for GraphAnnisCoreError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<GraphAnnisCoreError> for ComponentTypeError
impl From<GraphAnnisCoreError> for ComponentTypeError
source§fn from(e: GraphAnnisCoreError) -> Self
fn from(e: GraphAnnisCoreError) -> Self
Converts to this type from the input type.
source§impl From<PersistError> for GraphAnnisCoreError
impl From<PersistError> for GraphAnnisCoreError
source§fn from(source: PersistError) -> Self
fn from(source: PersistError) -> Self
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for GraphAnnisCoreError
impl<T> From<PoisonError<T>> for GraphAnnisCoreError
source§fn from(e: PoisonError<T>) -> Self
fn from(e: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl From<Status> for GraphAnnisCoreError
impl From<Status> for GraphAnnisCoreError
source§impl From<TryFromIntError> for GraphAnnisCoreError
impl From<TryFromIntError> for GraphAnnisCoreError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for GraphAnnisCoreError
impl From<TryFromSliceError> for GraphAnnisCoreError
source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GraphAnnisCoreError
impl !RefUnwindSafe for GraphAnnisCoreError
impl Send for GraphAnnisCoreError
impl Sync for GraphAnnisCoreError
impl Unpin for GraphAnnisCoreError
impl !UnwindSafe for GraphAnnisCoreError
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more