pub struct ParallelParseOutcome {
pub triples: Vec<Triple>,
pub errors: Vec<TurtleParseError>,
}Available on crate feature
parallel only.Expand description
Outcome of a parallel parse.
In strict mode a per-chunk parse error aborts the whole parse (returned as
Err from ParallelParser::parse_all) exactly as before; errors is
therefore always empty in that mode. In lenient mode, per-chunk parse
errors are collected here instead of being silently printed to stderr, so
the caller can inspect (or count) how much data failed to parse.
Fields§
§triples: Vec<Triple>Triples successfully parsed from every chunk.
errors: Vec<TurtleParseError>Errors collected from chunks that failed to parse (lenient mode only).
Trait Implementations§
Source§impl Debug for ParallelParseOutcome
impl Debug for ParallelParseOutcome
Source§impl Default for ParallelParseOutcome
impl Default for ParallelParseOutcome
Source§fn default() -> ParallelParseOutcome
fn default() -> ParallelParseOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ParallelParseOutcome
impl !UnwindSafe for ParallelParseOutcome
impl Freeze for ParallelParseOutcome
impl Send for ParallelParseOutcome
impl Sync for ParallelParseOutcome
impl Unpin for ParallelParseOutcome
impl UnsafeUnpin for ParallelParseOutcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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