Skip to main content

Select

Trait Select 

Source
pub trait Select {
    type Bucket;
    type Row;
    type Rows: Stream<Item = Result<Self::Row, Status>>;

    // Required method
    fn all<'life0, 'async_trait>(
        &'life0 self,
        b: Self::Bucket,
    ) -> Pin<Box<dyn Future<Output = Result<Self::Rows, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Source

type Bucket

Source

type Row

Source

type Rows: Stream<Item = Result<Self::Row, Status>>

Required Methods§

Source

fn all<'life0, 'async_trait>( &'life0 self, b: Self::Bucket, ) -> Pin<Box<dyn Future<Output = Result<Self::Rows, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§