Trait edgedb_tokio_ext::SerdeClientExt
source · pub trait SerdeClientExt {
// Required methods
fn query_required_single_serde<'life0, 'life1, 'life2, 'async_trait, T>(
&'life0 self,
query: &'life1 str,
args: &'life2 (impl 'async_trait + QueryArgs)
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send + '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 self,
query: &'life1 str,
args: &'life2 (impl 'async_trait + QueryArgs)
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send + '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 self,
query: &'life1 str,
args: &'life2 (impl 'async_trait + QueryArgs)
) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + Send + 'async_trait>>
where T: DeserializeOwned + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Required Methods§
fn query_required_single_serde<'life0, 'life1, 'life2, 'async_trait, T>(
&'life0 self,
query: &'life1 str,
args: &'life2 (impl 'async_trait + QueryArgs)
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send + '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 self,
query: &'life1 str,
args: &'life2 (impl 'async_trait + QueryArgs)
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send + '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 self,
query: &'life1 str,
args: &'life2 (impl 'async_trait + QueryArgs)
) -> Pin<Box<dyn Future<Output = Result<Option<T>, Error>> + Send + '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.