SqlIterExt

Trait SqlIterExt 

Source
pub trait SqlIterExt: Iterator + Sized {
    // Provided methods
    fn map_into_row<'a, const N: usize, F: FnMut(Self::Item) -> [Binding<'a>; N]>(
        self,
        fnx: F,
    ) -> Map<Self, F> { ... }
    fn into_sql_tuples<'a, const N: usize>(self) -> MapIntoRow<'a, N, Self> 
       where Self::Item: IntoTupleSlice<'a, N> { ... }
    fn borrow_into_sql_fragment<'a>(&'a self) -> SqlFragment<'a>
       where Self: IntoIterator + Clone,
             <Self as IntoIterator>::Item: SqlSnippet<'a> { ... }
}

Provided Methods§

Source

fn map_into_row<'a, const N: usize, F: FnMut(Self::Item) -> [Binding<'a>; N]>( self, fnx: F, ) -> Map<Self, F>

Source

fn into_sql_tuples<'a, const N: usize>(self) -> MapIntoRow<'a, N, Self>
where Self::Item: IntoTupleSlice<'a, N>,

Source

fn borrow_into_sql_fragment<'a>(&'a self) -> SqlFragment<'a>
where Self: IntoIterator + Clone, <Self as IntoIterator>::Item: SqlSnippet<'a>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§