[−][src]Enum sophia::parser::rio_common::GeneralizedRioSource
QuadSource adapter for RIO GeneralizedQuadParser
Variants
Error(Option<E>)
Trait Implementations
impl<T, E> From<Result<T, E>> for GeneralizedRioSource<T, E>
[src]
impl<T, E> QuadSource for GeneralizedRioSource<T, E> where
T: GeneralizedQuadsParser<Error = E>,
E: Error + 'static,
[src]
T: GeneralizedQuadsParser<Error = E>,
E: Error + 'static,
type Error = E
The type of errors produced by this source.
type Quad = ByRefTerms
Determine the type of Quad
s that this quad source yields. (see streaming_mode
Read more
fn try_for_some_quad<F, EF>(&mut self, f: &mut F) -> StreamResult<bool, E, EF> where
F: FnMut(StreamedQuad<Self::Quad>) -> Result<(), EF>,
EF: Error,
[src]
F: FnMut(StreamedQuad<Self::Quad>) -> Result<(), EF>,
EF: Error,
fn try_for_each_quad<F, E>(&mut self, f: F) -> StreamResult<(), Self::Error, E> where
F: FnMut(StreamedQuad<Self::Quad>) -> Result<(), E>,
E: Error,
[src]
F: FnMut(StreamedQuad<Self::Quad>) -> Result<(), E>,
E: Error,
fn for_some_quad<F>(&mut self, f: &mut F) -> Result<bool, Self::Error> where
F: FnMut(StreamedQuad<Self::Quad>),
[src]
F: FnMut(StreamedQuad<Self::Quad>),
fn for_each_quad<F>(&mut self, f: F) -> Result<(), Self::Error> where
F: FnMut(StreamedQuad<Self::Quad>),
[src]
F: FnMut(StreamedQuad<Self::Quad>),
fn in_dataset<D: MutableDataset>(
&mut self,
dataset: &mut D
) -> StreamResult<usize, Self::Error, <D as MutableDataset>::MutationError> where
Self: Sized,
[src]
&mut self,
dataset: &mut D
) -> StreamResult<usize, Self::Error, <D as MutableDataset>::MutationError> where
Self: Sized,
fn filter_quads<F>(self, filter: F) -> FilterSource<Self, F> where
Self: Sized,
F: FnMut(&StreamedQuad<Self::Quad>) -> bool,
[src]
Self: Sized,
F: FnMut(&StreamedQuad<Self::Quad>) -> bool,
fn filter_map_quads<F, T>(self, filter_map: F) -> FilterMapSource<Self, F> where
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> Option<T>,
[src]
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> Option<T>,
fn map_quads<F, T>(self, map: F) -> MapSource<Self, F> where
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> T,
[src]
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> T,
Auto Trait Implementations
impl<T, E> RefUnwindSafe for GeneralizedRioSource<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for GeneralizedRioSource<T, E> where
E: Send,
T: Send,
E: Send,
T: Send,
impl<T, E> Sync for GeneralizedRioSource<T, E> where
E: Sync,
T: Sync,
E: Sync,
T: Sync,
impl<T, E> Unpin for GeneralizedRioSource<T, E> where
E: Unpin,
T: Unpin,
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for GeneralizedRioSource<T, E> where
E: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I, T, E> QuadSource for I where
E: 'static + Error,
I: Iterator<Item = Result<T, E>>,
T: Quad,
[src]
E: 'static + Error,
I: Iterator<Item = Result<T, E>>,
T: Quad,
type Error = E
The type of errors produced by this source.
type Quad = ByValue<T>
Determine the type of Quad
s that this quad source yields. (see streaming_mode
Read more
fn try_for_some_quad<F, EF>(
&mut Self,
&mut F
) -> Result<bool, StreamError<E, EF>> where
EF: Error,
F: FnMut(StreamedQuad<<I as QuadSource>::Quad>) -> Result<(), EF>,
[src]
&mut Self,
&mut F
) -> Result<bool, StreamError<E, EF>> where
EF: Error,
F: FnMut(StreamedQuad<<I as QuadSource>::Quad>) -> Result<(), EF>,
fn try_for_each_quad<F, E>(&mut self, f: F) -> StreamResult<(), Self::Error, E> where
F: FnMut(StreamedQuad<Self::Quad>) -> Result<(), E>,
E: Error,
[src]
F: FnMut(StreamedQuad<Self::Quad>) -> Result<(), E>,
E: Error,
fn for_some_quad<F>(&mut self, f: &mut F) -> Result<bool, Self::Error> where
F: FnMut(StreamedQuad<Self::Quad>),
[src]
F: FnMut(StreamedQuad<Self::Quad>),
fn for_each_quad<F>(&mut self, f: F) -> Result<(), Self::Error> where
F: FnMut(StreamedQuad<Self::Quad>),
[src]
F: FnMut(StreamedQuad<Self::Quad>),
fn in_dataset<D: MutableDataset>(
&mut self,
dataset: &mut D
) -> StreamResult<usize, Self::Error, <D as MutableDataset>::MutationError> where
Self: Sized,
[src]
&mut self,
dataset: &mut D
) -> StreamResult<usize, Self::Error, <D as MutableDataset>::MutationError> where
Self: Sized,
fn filter_quads<F>(self, filter: F) -> FilterSource<Self, F> where
Self: Sized,
F: FnMut(&StreamedQuad<Self::Quad>) -> bool,
[src]
Self: Sized,
F: FnMut(&StreamedQuad<Self::Quad>) -> bool,
fn filter_map_quads<F, T>(self, filter_map: F) -> FilterMapSource<Self, F> where
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> Option<T>,
[src]
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> Option<T>,
fn map_quads<F, T>(self, map: F) -> MapSource<Self, F> where
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> T,
[src]
Self: Sized,
F: FnMut(StreamedQuad<Self::Quad>) -> T,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,