pub struct AsyncNTriplesParser { /* private fields */ }Available on crate feature
async-tokio only.Expand description
Async N-Triples parser implementation
Implementations§
Source§impl AsyncNTriplesParser
impl AsyncNTriplesParser
Sourcepub fn new_lenient() -> Self
pub fn new_lenient() -> Self
Create a new lenient async N-Triples parser
Sourcepub async fn parse_lines<R: AsyncBufRead + Unpin>(
&self,
reader: R,
) -> TurtleResult<Vec<Triple>>
pub async fn parse_lines<R: AsyncBufRead + Unpin>( &self, reader: R, ) -> TurtleResult<Vec<Triple>>
Parse lines from an async reader
Trait Implementations§
Source§impl AsyncParser for AsyncNTriplesParser
impl AsyncParser for AsyncNTriplesParser
Source§fn parse_async<'life0, 'async_trait, R>(
&'life0 self,
reader: R,
) -> Pin<Box<dyn Future<Output = TurtleResult<Vec<Triple>>> + Send + 'async_trait>>
fn parse_async<'life0, 'async_trait, R>( &'life0 self, reader: R, ) -> Pin<Box<dyn Future<Output = TurtleResult<Vec<Triple>>> + Send + 'async_trait>>
Parse a document from an async reader
Auto Trait Implementations§
impl Freeze for AsyncNTriplesParser
impl RefUnwindSafe for AsyncNTriplesParser
impl Send for AsyncNTriplesParser
impl Sync for AsyncNTriplesParser
impl Unpin for AsyncNTriplesParser
impl UnsafeUnpin for AsyncNTriplesParser
impl UnwindSafe for AsyncNTriplesParser
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