[][src]Struct amadeus::source::Json

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

Implementations

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

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

Trait Implementations

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

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

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

type Item = Row

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

type ParStream = impl File + SerdeData + ParallelStream<Item = Result<<Json<F, Row> as Source>::Item, <Json<F, Row> as Source>::Error>>

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

impl<File, Row> Source for Json<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 Json<File, Row> where
    <File as File>::Partition: RefUnwindSafe

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

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

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

impl<File, Row> UnwindSafe for Json<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<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

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[src]

type Meta = Concrete

Type of metadata for type.

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

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