Trait ruarango::Cursor

source ·
pub trait Cursor {
    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 + 'async_trait,
        Self: 'async_trait,
        'life0: 'async_trait
; fn delete<'life0, 'async_trait>(
        &'life0 self,
        config: DeleteConfig
    ) -> Pin<Box<dyn Future<Output = ArangoResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; 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 + 'async_trait,
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Cursor Operations

Required Methods§

Create a cursor

Delete a cursor

Grab the next batch from an open cursor

Implementors§