Struct ruarango::Connection [−][src]
pub struct Connection { /* fields omitted */ }
Expand description
An ArangoDB
connection implementing the database operation traits
Trait Implementations
impl Clone for Connection
[src]
impl Clone for Connection
[src]fn clone(&self) -> Connection
[src]
fn clone(&self) -> Connection
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Collection for Connection
[src]
impl Collection for Connection
[src]fn collections<'life0, 'async_trait>(
&'life0 self,
exclude_system: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Vec<Collections>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn collections<'life0, 'async_trait>(
&'life0 self,
exclude_system: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Vec<Collections>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Returns a vector of collection descriptions Read more
fn collection<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Coll>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn collection<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Coll>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Return information about a single collection
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 Config
) -> Pin<Box<dyn Future<Output = ArangoResult<Create>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 Config
) -> Pin<Box<dyn Future<Output = ArangoResult<Create>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Create a collection
fn drop<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
is_system: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Drop>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn drop<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
is_system: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Drop>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Drop a collection
fn checksum<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
with_revisions: bool,
with_data: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Checksum>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn checksum<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
with_revisions: bool,
with_data: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Checksum>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Will calculate a checksum of the meta-data (keys and optionally revision ids and optionally the document data) in the collection. Read more
fn count<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Count>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn count<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Count>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]The number of documents in the collection. Note - this will always load the collection into memory. Read more
fn figures<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Figures>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn figures<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Figures>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Some figures and additional statistical information about the collection.
fn revision<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Revision>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn revision<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Revision>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Get the revision id for a collection The revision id is a server-generated string that clients can use to check whether data in a collection has changed since the last revision check. Read more
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
include_count: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Load>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
include_count: bool
) -> Pin<Box<dyn Future<Output = ArangoResult<Load>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Loads a collection into memory.
fn load_indexes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<LoadIndexes>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn load_indexes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<LoadIndexes>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]load_indexes
tries to cache all index entries of this collection into memory. Read more
fn modify_props<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
props: Props
) -> Pin<Box<dyn Future<Output = ArangoResult<ModifyProps>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn modify_props<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
props: Props
) -> Pin<Box<dyn Future<Output = ArangoResult<ModifyProps>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Change the properties of a collection Read more
fn recalculate_count<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<RecalculateCount>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn recalculate_count<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<RecalculateCount>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Recalculates the document count of a collection, if it ever becomes inconsistent. Read more
fn rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
new_name: &'life2 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Rename>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
fn rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
new_name: &'life2 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Rename>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]Renames a collection
fn truncate<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Truncate>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn truncate<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Truncate>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Removes all documents from the collection, but leaves the indexes intact.
fn unload<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Unload>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn unload<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Unload>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Removes a collection from memory. This call does not delete any documents. You can use the collection afterwards, in which case it will be loaded into memory. Read more
impl Cursor for Connection
[src]
impl Cursor for Connection
[src]fn create<'life0, 'async_trait, T>(
&'life0 self,
config: CreateConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<CursorMeta<T>>> + Send + 'async_trait>> where
T: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create<'life0, 'async_trait, T>(
&'life0 self,
config: CreateConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<CursorMeta<T>>> + Send + 'async_trait>> where
T: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Create a cursor
fn delete<'life0, 'async_trait>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete<'life0, 'async_trait>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete a cursor
fn next<'life0, 'async_trait, T>(
&'life0 self,
config: NextConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<CursorMeta<T>>> + Send + 'async_trait>> where
T: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn next<'life0, 'async_trait, T>(
&'life0 self,
config: NextConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<CursorMeta<T>>> + Send + 'async_trait>> where
T: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Grab the next batch from an open cursor
impl Database for Connection
[src]
impl Database for Connection
[src]fn current<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Current>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn current<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Current>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Retrieves the properties of the current database
fn user<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Vec<String>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn user<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Vec<String>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Retrieves the list of all databases the current user can access without specifying a different username or password.
fn list<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Vec<String>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn list<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<Vec<String>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Retrieves the list of all existing databases
Note: retrieving the list of databases is only possible from within the _system database.
Note: You should use the GET user API
to fetch the list of the available databases now. Read more
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
create: &'life1 Create
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<bool>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
create: &'life1 Create
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<bool>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Creates a new database Note: creating a new database is only possible from within the _system database. Read more
fn drop<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<bool>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn drop<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = ArangoResult<Response<bool>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Drops the database along with all data stored in it. Note: dropping a database is only possible from within the _system database. The _system database itself cannot be dropped. Read more
impl Debug for Connection
[src]
impl Debug for Connection
[src]impl Document for Connection
[src]
impl Document for Connection
[src]fn create<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: CreateConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: CreateConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Create a document
fn creates<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: CreatesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn creates<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: CreatesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Create multiple documents
fn read<'life0, 'async_trait, T>(
&'life0 self,
config: ReadConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<T>> + Send + 'async_trait>> where
T: DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn read<'life0, 'async_trait, T>(
&'life0 self,
config: ReadConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<T>> + Send + 'async_trait>> where
T: DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Read a document
fn reads<'life0, 'async_trait, T, U>(
&'life0 self,
config: ReadsConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoVecResult<U>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn reads<'life0, 'async_trait, T, U>(
&'life0 self,
config: ReadsConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoVecResult<U>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Read multiple documents
fn replace<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: ReplaceConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn replace<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: ReplaceConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Replace a docment with the given document
fn replaces<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: ReplacesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn replaces<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: ReplacesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Replace multiple documents
fn update<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: UpdateConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn update<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: UpdateConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Update the given data in the given document
fn updates<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: UpdatesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn updates<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: UpdatesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Update the given data in the given documents
fn delete<'life0, 'async_trait, U, V>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete<'life0, 'async_trait, U, V>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = DocMetaResult<U, V>> + Send + 'async_trait>> where
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete the given docment
fn deletes<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: DeletesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn deletes<'life0, 'async_trait, T, U, V>(
&'life0 self,
config: DeletesConfig<T>
) -> Pin<Box<dyn Future<Output = DocMetaVecResult<U, V>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
U: Serialize + DeserializeOwned + Send + Sync,
V: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
U: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Deletes the given docments
impl Graph for Connection
[src]
impl Graph for Connection
[src]fn list<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<List>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn list<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ArangoResult<List>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]List all graphs
fn create<'life0, 'async_trait>(
&'life0 self,
config: CreateConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create<'life0, 'async_trait>(
&'life0 self,
config: CreateConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Create a graph
fn read<'life0, 'async_trait>(
&'life0 self,
config: ReadConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn read<'life0, 'async_trait>(
&'life0 self,
config: ReadConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Read a graph
fn delete<'life0, 'async_trait>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete<'life0, 'async_trait>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete a graph
fn create_edge_def<'life0, 'async_trait>(
&'life0 self,
config: CreateEdgeDefConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create_edge_def<'life0, 'async_trait>(
&'life0 self,
config: CreateEdgeDefConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Create an edge definition
fn read_edge_defs<'life0, 'async_trait>(
&'life0 self,
config: ReadEdgeDefsConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<EdgesMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn read_edge_defs<'life0, 'async_trait>(
&'life0 self,
config: ReadEdgeDefsConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<EdgesMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Read the edge definitions for the given graph
fn delete_edge_def<'life0, 'async_trait>(
&'life0 self,
config: DeleteEdgeDefConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_edge_def<'life0, 'async_trait>(
&'life0 self,
config: DeleteEdgeDefConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete an edge definition
fn replace_edge_def<'life0, 'async_trait>(
&'life0 self,
config: ReplaceEdgeDefConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn replace_edge_def<'life0, 'async_trait>(
&'life0 self,
config: ReplaceEdgeDefConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Replace an edge definition
fn create_edge<'life0, 'async_trait>(
&'life0 self,
config: EdgeCreateConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<CreateEdge>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create_edge<'life0, 'async_trait>(
&'life0 self,
config: EdgeCreateConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<CreateEdge>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Create an edge for a graph
fn delete_edge<'life0, 'async_trait>(
&'life0 self,
config: EdgeDeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<DeleteEdge>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_edge<'life0, 'async_trait>(
&'life0 self,
config: EdgeDeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<DeleteEdge>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete an edge from a graph
fn read_edge<'life0, 'async_trait>(
&'life0 self,
config: EdgeReadConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<ReadEdge>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn read_edge<'life0, 'async_trait>(
&'life0 self,
config: EdgeReadConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<ReadEdge>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Read an edge from a graph
fn update_edge<'life0, 'async_trait, T>(
&'life0 self,
config: EdgeUpdateConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<UpdateEdge>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn update_edge<'life0, 'async_trait, T>(
&'life0 self,
config: EdgeUpdateConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<UpdateEdge>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Update an edge from a graph
fn replace_edge<'life0, 'async_trait, T>(
&'life0 self,
config: EdgeReplaceConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<ReplaceEdge>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn replace_edge<'life0, 'async_trait, T>(
&'life0 self,
config: EdgeReplaceConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<ReplaceEdge>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Replace an edge from a graph
fn read_vertex_colls<'life0, 'async_trait>(
&'life0 self,
config: ReadVertexCollsConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<VertexColls>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn read_vertex_colls<'life0, 'async_trait>(
&'life0 self,
config: ReadVertexCollsConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<VertexColls>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Read the vertex collections from a graph
fn create_vertex_coll<'life0, 'async_trait>(
&'life0 self,
config: CreateVertexCollConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create_vertex_coll<'life0, 'async_trait>(
&'life0 self,
config: CreateVertexCollConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Create vertex collection
fn delete_vertex_coll<'life0, 'async_trait>(
&'life0 self,
config: DeleteVertexCollConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_vertex_coll<'life0, 'async_trait>(
&'life0 self,
config: DeleteVertexCollConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<GraphMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete vertex collection
fn create_vertex<'life0, 'async_trait, T>(
&'life0 self,
config: CreateVertexConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<VertexMeta>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create_vertex<'life0, 'async_trait, T>(
&'life0 self,
config: CreateVertexConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<VertexMeta>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Create vertex
fn delete_vertex<'life0, 'async_trait>(
&'life0 self,
config: DeleteVertexConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<DeleteVertexMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_vertex<'life0, 'async_trait>(
&'life0 self,
config: DeleteVertexConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<DeleteVertexMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete a vertex
fn read_vertex<'life0, 'async_trait>(
&'life0 self,
config: ReadVertexConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<ReadVertexMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn read_vertex<'life0, 'async_trait>(
&'life0 self,
config: ReadVertexConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<ReadVertexMeta>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Read a vertex
fn update_vertex<'life0, 'async_trait, T>(
&'life0 self,
config: UpdateVertexConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<UpdateVertexMeta>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn update_vertex<'life0, 'async_trait, T>(
&'life0 self,
config: UpdateVertexConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<UpdateVertexMeta>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Update vertex
fn replace_vertex<'life0, 'async_trait, T>(
&'life0 self,
config: UpdateVertexConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<UpdateVertexMeta>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn replace_vertex<'life0, 'async_trait, T>(
&'life0 self,
config: UpdateVertexConfig<T>
) -> Pin<Box<dyn Future<Output = ArangoResult<UpdateVertexMeta>> + Send + 'async_trait>> where
T: Serialize + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]Replace vertex
impl Job for Connection
[src]
impl Job for Connection
[src]fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<u16>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<u16>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Returns the processing status of the specified job. The processing status can be determined by checking the HTTP response code. Read more
fn fetch<'life0, 'life1, 'async_trait, T>(
&'life0 self,
id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>> where
T: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn fetch<'life0, 'life1, 'async_trait, T>(
&'life0 self,
id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>> where
T: Serialize + DeserializeOwned + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Docs
Auto Trait Implementations
impl !RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl !UnwindSafe for Connection
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,