[−][src]Type Definition dgraph_tonic::TxnMutatedType
type TxnMutatedType<C> = TxnVariant<Mutated<C>, C>;
Transaction variant with mutations support.
Trait Implementations
impl<C: ILazyClient> Mutate for TxnMutatedType<C>
[src]
fn discard<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<(), DgraphError>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self
) -> Pin<Box<dyn Future<Output = Result<(), DgraphError>> + Send + 'async_trait>> where
Self: 'async_trait,
fn commit<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<(), DgraphError>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self
) -> Pin<Box<dyn Future<Output = Result<(), DgraphError>> + Send + 'async_trait>> where
Self: 'async_trait,
fn mutate<'life0, 'async_trait>(
&'life0 mut self,
mu: Mutation
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
mu: Mutation
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn mutate_and_commit_now<'async_trait>(
self,
mu: Mutation
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self,
mu: Mutation
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Self: 'async_trait,
fn upsert<'life0, 'async_trait, Q, M>(
&'life0 mut self,
query: Q,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
M: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
query: Q,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
M: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn upsert_and_commit_now<'async_trait, Q, M>(
self,
query: Q,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
M: 'async_trait,
Self: 'async_trait,
[src]
self,
query: Q,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
M: 'async_trait,
Self: 'async_trait,
fn upsert_with_vars<'life0, 'async_trait, Q, K, V, M>(
&'life0 mut self,
query: Q,
vars: HashMap<K, V>,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
K: Into<String> + Send + Sync + Eq + Hash,
V: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
K: 'async_trait,
V: 'async_trait,
M: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
query: Q,
vars: HashMap<K, V>,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
K: Into<String> + Send + Sync + Eq + Hash,
V: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
K: 'async_trait,
V: 'async_trait,
M: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn upsert_with_vars_and_commit_now<'async_trait, Q, K, V, M>(
self,
query: Q,
vars: HashMap<K, V>,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
K: Into<String> + Send + Sync + Eq + Hash,
V: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
K: 'async_trait,
V: 'async_trait,
M: 'async_trait,
Self: 'async_trait,
[src]
self,
query: Q,
vars: HashMap<K, V>,
mu: M
) -> Pin<Box<dyn Future<Output = Result<MutationResponse, DgraphError>> + Send + 'async_trait>> where
Q: Into<String> + Send + Sync,
K: Into<String> + Send + Sync + Eq + Hash,
V: Into<String> + Send + Sync,
M: Into<UpsertMutation> + Send + Sync,
Q: 'async_trait,
K: 'async_trait,
V: 'async_trait,
M: 'async_trait,
Self: 'async_trait,