[][src]Struct amadeus::source::Csv

pub struct Csv<File, Row> where
    File: File,
    Row: SerdeData
{ /* fields omitted */ }

Implementations

impl<F, Row> Csv<F, Row> where
    F: File,
    Row: SerdeData
[src]

pub async fn new(file: F) -> Result<Csv<F, Row>, <Csv<F, Row> as Source>::Error>[src]

Trait Implementations

impl<File, Row> Clone for Csv<File, Row> where
    File: File,
    Row: SerdeData
[src]

impl<File, Row> Debug for Csv<File, Row> where
    File: File,
    Row: SerdeData
[src]

impl<F, Row> Source for Csv<F, Row> where
    F: File,
    Row: SerdeData
[src]

type Item = Row

type Error = CsvError<<F as File>::Error, <<F as File>::Partition as Partition>::Error, <<<F as File>::Partition as Partition>::Page as Page>::Error>

type ParStream = DistParStream<<Csv<F, Row> as Source>::DistStream>

type DistStream = impl File + SerdeData + DistributedStream<Item = Result<<Csv<F, Row> as Source>::Item, <Csv<F, Row> as Source>::Error>>

impl<File, Row> Source for Csv<File, Row> where
    File: File,
    Row: Data
[src]

type Item = Self::Item

type Error = Self::Error

type ParStream = Self::ParStream

type DistStream = Self::DistStream

Auto Trait Implementations

impl<File, Row> RefUnwindSafe for Csv<File, Row> where
    <File as File>::Partition: RefUnwindSafe

impl<File, Row> Send for Csv<File, Row> where
    <File as File>::Partition: Send

impl<File, Row> Sync for Csv<File, Row> where
    <File as File>::Partition: Sync

impl<File, Row> Unpin for Csv<File, Row> where
    <File as File>::Partition: Unpin

impl<File, Row> UnwindSafe for Csv<File, Row> where
    <File as File>::Partition: 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<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,