[][src]Trait owoof::sql::ReadFromRow

pub trait ReadFromRow {
    type Out;
    fn read_from_row(&self, _: &mut RowCursor<'_>) -> Result<Self::Out>;
}

Associated Types

type Out

Loading content...

Required methods

fn read_from_row(&self, _: &mut RowCursor<'_>) -> Result<Self::Out>

Loading content...

Implementations on Foreign Types

impl<T, '_> ReadFromRow for &'_ T where
    T: ReadFromRow
[src]

motherfuckingchrist

type Out = <T as ReadFromRow>::Out

impl<T, '_> ReadFromRow for &'_ [T] where
    T: ReadFromRow
[src]

type Out = Vec<<T as ReadFromRow>::Out>

impl<A: ReadFromRow> ReadFromRow for (A,)[src]

type Out = (<A as ReadFromRow>::Out,)

impl<A: ReadFromRow, B: ReadFromRow> ReadFromRow for (A, B)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow> ReadFromRow for (A, B, C)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow, D: ReadFromRow> ReadFromRow for (A, B, C, D)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out, <D as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow, D: ReadFromRow, E: ReadFromRow> ReadFromRow for (A, B, C, D, E)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out, <D as ReadFromRow>::Out, <E as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow, D: ReadFromRow, E: ReadFromRow, F: ReadFromRow> ReadFromRow for (A, B, C, D, E, F)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out, <D as ReadFromRow>::Out, <E as ReadFromRow>::Out, <F as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow, D: ReadFromRow, E: ReadFromRow, F: ReadFromRow, G: ReadFromRow> ReadFromRow for (A, B, C, D, E, F, G)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out, <D as ReadFromRow>::Out, <E as ReadFromRow>::Out, <F as ReadFromRow>::Out, <G as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow, D: ReadFromRow, E: ReadFromRow, F: ReadFromRow, G: ReadFromRow, H: ReadFromRow> ReadFromRow for (A, B, C, D, E, F, G, H)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out, <D as ReadFromRow>::Out, <E as ReadFromRow>::Out, <F as ReadFromRow>::Out, <G as ReadFromRow>::Out, <H as ReadFromRow>::Out)

impl<A: ReadFromRow, B: ReadFromRow, C: ReadFromRow, D: ReadFromRow, E: ReadFromRow, F: ReadFromRow, G: ReadFromRow, H: ReadFromRow, I: ReadFromRow> ReadFromRow for (A, B, C, D, E, F, G, H, I)[src]

type Out = (<A as ReadFromRow>::Out, <B as ReadFromRow>::Out, <C as ReadFromRow>::Out, <D as ReadFromRow>::Out, <E as ReadFromRow>::Out, <F as ReadFromRow>::Out, <G as ReadFromRow>::Out, <H as ReadFromRow>::Out, <I as ReadFromRow>::Out)

Loading content...

Implementors

impl ReadFromRow for Location[src]

type Out = Value

TODO the whole point of the phantom data in AttributeMap is to disambiguate this type ... so that we can share the same value types in both directions of the database.

We don't have that here, so we need to modify the trait so that users can specify what kind of container things can be dumped into as long as it implements FromAffinityValue.

impl<'a, V> ReadFromRow for AttributeMap<'a, V> where
    V: FromAffinityValue
[src]

type Out = HashMap<&'a AttributeName<'a>, V>

impl<T, F> ReadFromRow for CrazyFuckingMemes<T, F> where
    F: ReadFromRow
[src]

type Out = <F as ReadFromRow>::Out

Loading content...