Trait tc_transact::IntoView 
source · pub trait IntoView<'en, FE> {
    type Txn: Transaction<FE>;
    type View: IntoStream<'en> + Sized + 'en;
    // Required method
    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§
sourcetype Txn: Transaction<FE>
 
type Txn: Transaction<FE>
The type of Transaction which this state supports
sourcetype View: IntoStream<'en> + Sized + 'en
 
type View: IntoStream<'en> + Sized + 'en
The type of encodable view returned by into_view