Enum rdf_store_rs::RDFStoreError
source · pub enum RDFStoreError {
Show 24 variants
Unknown,
Exception {
action: String,
message: String,
},
UnknownDataType {
data_type_id: u8,
},
UnknownValueForDataType {
data_type: DataType,
value: String,
},
UnknownXsdDataType {
data_type_iri: String,
},
UnknownNTriplesValue {
value: String,
},
MultiplicityExceededMaximumNumberOfRows {
maxrow: usize,
multiplicity: usize,
query: String,
},
CannotGetAnyArgumentIndexes {
query: String,
},
ExceededMaximumNumberOfRows {
maxrow: usize,
query: String,
},
RDFoxLicenseFileNotFound,
UnknownResourceException,
CouldNotCreateRDFoxServer,
CouldNotConnectToServer,
CouldNotImportRDFFile,
InvalidPrefixName,
InvalidLiteral,
IOError(Error),
WalkError(Error),
IriParseError(Error),
IriStringParseError(Error),
ParseIntError(ParseIntError),
DateParseError(ParseError),
CApiError(NulError),
R2D2Error(Error),
}
Variants§
Unknown
Exception
UnknownDataType
UnknownValueForDataType
UnknownXsdDataType
UnknownNTriplesValue
MultiplicityExceededMaximumNumberOfRows
CannotGetAnyArgumentIndexes
ExceededMaximumNumberOfRows
RDFoxLicenseFileNotFound
UnknownResourceException
CouldNotCreateRDFoxServer
CouldNotConnectToServer
CouldNotImportRDFFile
InvalidPrefixName
InvalidLiteral
IOError(Error)
Represents all other cases of std::io::Error
.
WalkError(Error)
Represents all other cases of ignore::Error
(see https://docs.rs/ignore/latest/ignore/enum.Error.html)
IriParseError(Error)
IriStringParseError(Error)
ParseIntError(ParseIntError)
DateParseError(ParseError)
CApiError(NulError)
R2D2Error(Error)
Trait Implementations§
source§impl Debug for RDFStoreError
impl Debug for RDFStoreError
source§impl Display for RDFStoreError
impl Display for RDFStoreError
source§impl Error for RDFStoreError
impl Error for RDFStoreError
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<Error> for RDFStoreError
impl From<Error> for RDFStoreError
source§impl From<Error> for RDFStoreError
impl From<Error> for RDFStoreError
source§impl From<Error> for RDFStoreError
impl From<Error> for RDFStoreError
source§impl From<Error> for RDFStoreError
impl From<Error> for RDFStoreError
source§impl From<Error> for RDFStoreError
impl From<Error> for RDFStoreError
source§impl From<NulError> for RDFStoreError
impl From<NulError> for RDFStoreError
source§impl From<ParseError> for RDFStoreError
impl From<ParseError> for RDFStoreError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for RDFStoreError
impl From<ParseIntError> for RDFStoreError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RDFStoreError
impl Send for RDFStoreError
impl Sync for RDFStoreError
impl Unpin for RDFStoreError
impl !UnwindSafe for RDFStoreError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.