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§
sourcefn 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 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,
Create a cursor
sourcefn 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 delete<'life0, 'async_trait>(
&'life0 self,
config: DeleteConfig
) -> Pin<Box<dyn Future<Output = ArangoResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete a cursor
sourcefn 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,
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,
Grab the next batch from an open cursor