pub struct ByteTreeCursor { /* private fields */ }Implementations§
Source§impl ByteTreeCursor
impl ByteTreeCursor
pub fn is_valid(&self) -> bool
pub fn first(&mut self) -> Result<()>
pub fn next(&mut self) -> Result<()>
pub fn seek(&mut self, key: &[u8]) -> Result<()>
pub fn key(&self) -> Option<&[u8]>
pub fn value(&self) -> Option<&[u8]>
pub fn current(&self) -> Result<Option<(Vec<u8>, Vec<u8>)>>
pub fn collect_all(&mut self) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
pub fn collect_remaining(&mut self) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
Auto Trait Implementations§
impl Freeze for ByteTreeCursor
impl RefUnwindSafe for ByteTreeCursor
impl Send for ByteTreeCursor
impl Sync for ByteTreeCursor
impl Unpin for ByteTreeCursor
impl UnsafeUnpin for ByteTreeCursor
impl UnwindSafe for ByteTreeCursor
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