Skip to main content

AsyncGraphMut

Trait AsyncGraphMut 

Source
pub trait AsyncGraphMut: TryGraph {
    // Required method
    async fn async_insert(
        &mut self,
        triple: Triple<Self::Resource>,
    ) -> Result<(), Self::Error>;
}
Expand description

Async mutable graph.

Required Methods§

Source

async fn async_insert( &mut self, triple: Triple<Self::Resource>, ) -> Result<(), Self::Error>

Inserts the given triple in the graph.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<D> AsyncGraphMut for D
where D: TryGraphMut,

Any fallible mutable graph can be used, synchronously, as an asynchronous mutable graph.