Trait tc_transact::IntoView

source ·
pub trait IntoView<'en, D: Dir> {
    type Txn: Transaction<D>;
    type View: IntoStream<'en> + Sized + 'en;

    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

Access a view which can be encoded with en::IntoStream.

Required Associated Types§

The type of Transaction which this state supports

The type of encodable view returned by into_view

Required Methods§

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

Implementors§