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

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

Methods

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

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

Trait Implementations

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 DistIter = ImplDistributedIterator<Result<<Json<F, Row> as Source>::Item, <Json<F, Row> as Source>::Error>>

type Iter = Empty<Result<<Json<F, Row> as Source>::Item, <Json<F, Row> as Source>::Error>>

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

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

type Item = Self::Item

type Error = Self::Error

type DistIter = Self::DistIter

type Iter = Self::Iter

Auto Trait Implementations

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

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

Blanket Implementations

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

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

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

impl<T> FromCast<T> for T

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> FromBits<T> for T

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

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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