pub enum Tap2ShExError {
NotImplemented {
msg: String,
},
NoShapeId {
tap_shape: TapShape,
},
IriSError {
err: IriSError,
},
ResolvingPrefixError {
err: PrefixMapError,
line: u64,
field: String,
},
NoBaseIRI {
str: String,
},
MultipleValueExprInStatement {
value_datatype: DatatypeId,
value_shape: ShapeId,
},
DatatypeId2IriNoPrefix {
datatype_id: DatatypeId,
},
ShapeId2IriNoPrefix {
shape_id: ShapeId,
},
IriNoPrefix {
str: String,
line: u64,
},
PropertyId2IriNoPrefix {
property_id: PropertyId,
},
ParsingValueShape {
line: u64,
error: Box<Tap2ShExError>,
},
}
Variants§
NotImplemented
NoShapeId
IriSError
ResolvingPrefixError
NoBaseIRI
MultipleValueExprInStatement
DatatypeId2IriNoPrefix
Fields
§
datatype_id: DatatypeId
ShapeId2IriNoPrefix
IriNoPrefix
PropertyId2IriNoPrefix
Fields
§
property_id: PropertyId
ParsingValueShape
Implementations§
Source§impl Tap2ShExError
impl Tap2ShExError
pub fn not_implemented(msg: &str) -> Tap2ShExError
Trait Implementations§
Source§impl Debug for Tap2ShExError
impl Debug for Tap2ShExError
Source§impl Display for Tap2ShExError
impl Display for Tap2ShExError
Source§impl Error for Tap2ShExError
impl Error for Tap2ShExError
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 Tap2ShExError
impl RefUnwindSafe for Tap2ShExError
impl Send for Tap2ShExError
impl Sync for Tap2ShExError
impl Unpin for Tap2ShExError
impl UnwindSafe for Tap2ShExError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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