Trait ruarango::Graph[][src]

pub trait Graph {
Show methods #[must_use] fn list<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ArangoResult<List>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
}
Expand description

Database Operations

Required methods

#[must_use]
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]

Expand description

List all graphs

#[must_use]
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]

Expand description

Create a graph

#[must_use]
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]

Expand description

Read a graph

#[must_use]
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]

Expand description

Delete a graph

#[must_use]
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]

Expand description

Create an edge definition

#[must_use]
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]

Expand description

Read the edge definitions for the given graph

#[must_use]
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]

Expand description

Delete an edge definition

#[must_use]
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]

Expand description

Replace an edge definition

#[must_use]
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]

Expand description

Create an edge for a graph

#[must_use]
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]

Expand description

Delete an edge from a graph

#[must_use]
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]

Expand description

Read an edge from a graph

#[must_use]
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]

Expand description

Update an edge from a graph

#[must_use]
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]

Expand description

Replace an edge from a graph

#[must_use]
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]

Expand description

Read the vertex collections from a graph

#[must_use]
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]

Expand description

Create vertex collection

#[must_use]
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]

Expand description

Delete vertex collection

#[must_use]
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]

Expand description

Create vertex

#[must_use]
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]

Expand description

Read a vertex

#[must_use]
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]

Expand description

Delete a vertex

#[must_use]
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]

Expand description

Update vertex

#[must_use]
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]

Expand description

Replace vertex

Loading content...

Implementors

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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]

Loading content...