pub fn next_cursor(&self) -> Option<Result<CursorSession<T, C>>> {
        self.cursor.id().map(|v| v.to_owned()).map(|id| {
            self.execute(ReadNextBatchFromCursor::with_id(id))
                .map(|cursor| CursorSession {
                    cursor,
                    database_name: self.database_name.clone(),
                    connector: self.connector.clone(),
                    core: self.core.clone(),
                })
        })
    }
/// Checks whether this cursor has more results and if yes fetches a
/// cursor with the next batch of results and returns it as a new
/// `CursorSession`.
///
/// This function returns `None` if there are no more results for this
/// cursor. It returns `Some(Error)` if fetching the next batch of results
/// fails.
Checks whether this cursor has more results and if yes fetches a
cursor with the next batch of results and returns it as a new
`CursorSession`.

This function returns `None` if there are no more results for this
cursor. It returns `Some(Error)` if fetching the next batch of results
fails.
Checks whether this cursor has more results and if yes fetches a cursor with the next batch of results and returns it as a new ` CursorSession ` . This function returns ` None ` if there are no more results for this cursor . It returns ` Some ( Error ) ` if fetching the next batch of results fails .
pub fn next_cursor(&self) -> Option<Result<CursorSession<T, C>>> {
        self.cursor.id().map(|v| v.to_owned()).map(|id| {
            self.execute(ReadNextBatchFromCursor::with_id(id))
                .map(|cursor| CursorSession {
                    cursor,
                    database_name: self.database_name.clone(),
                    connector: self.connector.clone(),
                    core: self.core.clone(),
                })
        })
    }
pub fn next_cursor ( & self ) -> Option < Result < CursorSession < T , C > > > { self . cursor . id ( ) . map ( | v | v . to_owned ( ) ) . map ( | id | { self . execute ( ReadNextBatchFromCursor :: with_id ( id ) ) . map ( | cursor | CursorSession { cursor , database_name : self . database_name . clone ( ) , connector : self . connector . clone ( ) , core : self . core . clone ( ) , } ) } ) }
Checks whether this cursor has more results and if yes fetches a
cursor with the next batch of results and returns it as a new
`CursorSession`.
Checks whether this cursor has more results and if yes fetches a cursor with the next batch of results and returns it as a new ` CursorSession ` .
&self
&self