Trait tc_transact::IntoView[][src]

pub trait IntoView<'en, D: Dir> {
    type Txn: Transaction<D>;
    type View: IntoStream<'en> + Sized;
    fn into_view<'async_trait>(
        self,
        txn: Self::Txn
    ) -> Pin<Box<dyn Future<Output = TCResult<Self::View>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }
Expand description

Trait to define a view which can be encoded with en::IntoStream.

Associated Types

Required methods

Return a View which can be encoded with en::IntoStream.

Implementors