pub enum GeneralizationError {
LiteralSubject,
LiteralPredicate,
BlankPredicate,
LiteralGraph,
TripleTermSubject,
TripleTermPredicate,
TripleTermGraph,
}Expand description
Reasons a GeneralizedTriple or GeneralizedQuad cannot be converted
to a strict Triple / Quad.
Variants§
LiteralSubject
A literal sits in subject position.
LiteralPredicate
A literal sits in predicate position.
BlankPredicate
A blank node sits in predicate position.
LiteralGraph
A literal sits in graph position.
TripleTermSubject
A triple term sits in subject position. Strict RDF 1.2 only allows triple terms in object position.
TripleTermPredicate
A triple term sits in predicate position.
TripleTermGraph
A triple term sits in graph-name position.
Trait Implementations§
Source§impl Debug for GeneralizationError
impl Debug for GeneralizationError
Source§impl Display for GeneralizationError
impl Display for GeneralizationError
Source§impl Error for GeneralizationError
impl Error for GeneralizationError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for GeneralizationError
impl RefUnwindSafe for GeneralizationError
impl Send for GeneralizationError
impl Sync for GeneralizationError
impl Unpin for GeneralizationError
impl UnsafeUnpin for GeneralizationError
impl UnwindSafe for GeneralizationError
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