pub struct EdgeScanCursor { /* private fields */ }Expand description
See GraphStore::edge_scan_cursor.
Implementations§
Source§impl EdgeScanCursor
impl EdgeScanCursor
Sourcepub fn next_chunk(
&mut self,
txn: Txn<'_>,
chunk_size: usize,
) -> Result<Vec<(u64, Vec<u8>)>, GraphError>
pub fn next_chunk( &mut self, txn: Txn<'_>, chunk_size: usize, ) -> Result<Vec<(u64, Vec<u8>)>, GraphError>
At most chunk_size (edge_id, raw record bytes) pairs, id
order, starting after the previous chunk’s last id. Empty vec =
table exhausted.
Auto Trait Implementations§
impl Freeze for EdgeScanCursor
impl RefUnwindSafe for EdgeScanCursor
impl Send for EdgeScanCursor
impl Sync for EdgeScanCursor
impl Unpin for EdgeScanCursor
impl UnsafeUnpin for EdgeScanCursor
impl UnwindSafe for EdgeScanCursor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more