[][src]Enum sophia::parser::rio_common::GeneralizedRioSource

pub enum GeneralizedRioSource<T, E> {
    Parser(T),
    Error(Option<E>),
}

QuadSource adapter for RIO GeneralizedQuadParser

Variants

Parser(T)
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]

type Error = E

The type of errors produced by this source.

type Quad = ByRefTerms

Determine the type of Quads that this quad source yields. (see streaming_mode Read more

Auto Trait Implementations

impl<T, E> RefUnwindSafe for GeneralizedRioSource<T, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, E> Send for GeneralizedRioSource<T, E> where
    E: Send,
    T: Send

impl<T, E> Sync for GeneralizedRioSource<T, E> where
    E: Sync,
    T: Sync

impl<T, E> Unpin for GeneralizedRioSource<T, E> where
    E: Unpin,
    T: Unpin

impl<T, E> UnwindSafe for GeneralizedRioSource<T, E> where
    E: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I, T, E> QuadSource for I where
    E: 'static + Error,
    I: Iterator<Item = Result<T, E>>,
    T: Quad
[src]

type Error = E

The type of errors produced by this source.

type Quad = ByValue<T>

Determine the type of Quads that this quad source yields. (see streaming_mode Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.