Trait tinychain::route::Public[][src]

pub trait Public {
    fn get<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        txn: &'life1 Txn,
        path: &'life2 [PathSegment],
        key: Value
    ) -> Pin<Box<dyn Future<Output = TCResult<State>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn put<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        txn: &'life1 Txn,
        path: &'life2 [PathSegment],
        key: Value,
        value: State
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn post<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        txn: &'life1 Txn,
        path: &'life2 [PathSegment],
        params: Map<State>
    ) -> Pin<Box<dyn Future<Output = TCResult<State>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn delete<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        txn: &'life1 Txn,
        path: &'life2 [PathSegment],
        key: Value
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors