Trait edgedb_tokio_ext::SerdeTrxExt

source ·
pub trait SerdeTrxExt {
    // Required methods
    fn query_required_single_serde<'life0, 'life1, 'life2, 'async_trait, T>(
        &'life0 mut self,
        query: &'life1 str,
        args: &'life2 (impl 'async_trait + QueryArgs)
    ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
       where T: DeserializeOwned + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn query_serde<'life0, 'life1, 'life2, 'async_trait, T>(
        &'life0 mut self,
        query: &'life1 str,
        args: &'life2 (impl 'async_trait + QueryArgs)
    ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
       where T: DeserializeOwned + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn query_single_serde<'life0, 'life1, 'life2, 'async_trait, T>(
        &'life0 mut self,
        query: &'life1 str,
        args: &'life2 (impl 'async_trait + QueryArgs)
    ) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + 'async_trait>>
       where T: DeserializeOwned + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn query_required_single_serde<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 mut self, query: &'life1 str, args: &'life2 (impl 'async_trait + QueryArgs) ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
where T: DeserializeOwned + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn query_serde<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 mut self, query: &'life1 str, args: &'life2 (impl 'async_trait + QueryArgs) ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
where T: DeserializeOwned + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn query_single_serde<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 mut self, query: &'life1 str, args: &'life2 (impl 'async_trait + QueryArgs) ) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + 'async_trait>>
where T: DeserializeOwned + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SerdeTrxExt for Transaction

source§

fn query_required_single_serde<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 mut self, query: &'life1 str, args: &'life2 (impl 'async_trait + QueryArgs) ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
where T: DeserializeOwned + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source§

fn query_serde<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 mut self, query: &'life1 str, args: &'life2 (impl 'async_trait + QueryArgs) ) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
where T: DeserializeOwned + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source§

fn query_single_serde<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 mut self, query: &'life1 str, args: &'life2 (impl 'async_trait + QueryArgs) ) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + 'async_trait>>
where T: DeserializeOwned + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§