pub trait ForkCursor {
// Required methods
fn complete<'async_trait>(
self: Box<Self>,
) -> Pin<Box<dyn Future<Output = Result<NewCursor, CursorError>> + Send + 'async_trait>>
where Self: 'async_trait;
fn complete_local(self: Box<Self>) -> Result<Option<NewCursor>, CursorError>;
}
Required Methods§
Sourcefn complete<'async_trait>(
self: Box<Self>,
) -> Pin<Box<dyn Future<Output = Result<NewCursor, CursorError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn complete<'async_trait>(
self: Box<Self>,
) -> Pin<Box<dyn Future<Output = Result<NewCursor, CursorError>> + Send + 'async_trait>>where
Self: 'async_trait,
Complete the opening of a new cursor, returning the document it was commanded to start from.
Sourcefn complete_local(self: Box<Self>) -> Result<Option<NewCursor>, CursorError>
fn complete_local(self: Box<Self>) -> Result<Option<NewCursor>, CursorError>
Complete the opening of a new cursor, returning the document it was commanded to start from.