#[non_exhaustive]pub enum UpdateEvaluationError {
Storage(StorageError),
GraphParsing(RdfParseError),
Service(Box<dyn Error + Send + Sync + 'static>),
GraphAlreadyExists(NamedNode),
GraphDoesNotExist(NamedNode),
UnboundService,
InvalidServiceName(Term),
UnsupportedService(NamedNode),
UnsupportedContentType(String),
NotExistingSubstitutedVariable(Variable),
}Expand description
An error from SPARQL UPDATE evaluation
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 storage.
GraphParsing(RdfParseError)
An error while parsing an external RDF file.
Service(Box<dyn Error + Send + Sync + 'static>)
Error during SERVICE evaluation
GraphAlreadyExists(NamedNode)
Error when CREATE tries to create an already existing graph
GraphDoesNotExist(NamedNode)
Error when DROP or CLEAR tries to remove a not existing graph
UnboundService
The variable storing the SERVICE name is unbound
InvalidServiceName(Term)
Invalid service name
UnsupportedService(NamedNode)
The given SERVICE is not supported
UnsupportedContentType(String)
The given content media type returned from an HTTP response is not supported (LOAD)
NotExistingSubstitutedVariable(Variable)
If a variable present in the given initial substitution is not present in the SELECT part of the query
Trait Implementations§
Source§impl Debug for UpdateEvaluationError
impl Debug for UpdateEvaluationError
Source§impl Display for UpdateEvaluationError
impl Display for UpdateEvaluationError
Source§impl Error for UpdateEvaluationError
impl Error for UpdateEvaluationError
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<Infallible> for UpdateEvaluationError
impl From<Infallible> for UpdateEvaluationError
Source§fn from(error: Infallible) -> Self
fn from(error: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<QueryEvaluationError> for UpdateEvaluationError
impl From<QueryEvaluationError> for UpdateEvaluationError
Source§fn from(error: QueryEvaluationError) -> Self
fn from(error: QueryEvaluationError) -> Self
Converts to this type from the input type.
Source§impl From<RdfParseError> for UpdateEvaluationError
impl From<RdfParseError> for UpdateEvaluationError
Source§fn from(source: RdfParseError) -> Self
fn from(source: RdfParseError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for UpdateEvaluationError
impl From<StorageError> for UpdateEvaluationError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateEvaluationError> for Error
impl From<UpdateEvaluationError> for Error
Source§fn from(error: UpdateEvaluationError) -> Self
fn from(error: UpdateEvaluationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateEvaluationError
impl !RefUnwindSafe for UpdateEvaluationError
impl Send for UpdateEvaluationError
impl Sync for UpdateEvaluationError
impl Unpin for UpdateEvaluationError
impl UnsafeUnpin for UpdateEvaluationError
impl !UnwindSafe for UpdateEvaluationError
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