Skip to content

Commit

Permalink
(storage): impl some function (#5499)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoTheBestToGetTheBest authored Nov 20, 2023
1 parent 39a2dc6 commit 24ca241
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/storage/db/src/abstraction/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,31 +105,31 @@ pub struct CursorMock {

impl<T: Table> DbCursorRO<T> for CursorMock {
fn first(&mut self) -> PairResult<T> {
todo!()
Ok(None)
}

fn seek_exact(&mut self, _key: T::Key) -> PairResult<T> {
todo!()
Ok(None)
}

fn seek(&mut self, _key: T::Key) -> PairResult<T> {
todo!()
Ok(None)
}

fn next(&mut self) -> PairResult<T> {
todo!()
Ok(None)
}

fn prev(&mut self) -> PairResult<T> {
todo!()
Ok(None)
}

fn last(&mut self) -> PairResult<T> {
todo!()
Ok(None)
}

fn current(&mut self) -> PairResult<T> {
todo!()
Ok(None)
}

fn walk(&mut self, _start_key: Option<T::Key>) -> Result<Walker<'_, T, Self>, DatabaseError> {
Expand Down

0 comments on commit 24ca241

Please sign in to comment.