Make use of indexes
This commit is contained in:
parent
2357ea8230
commit
8139112934
5 changed files with 120 additions and 27 deletions
|
|
@ -1,7 +1,11 @@
|
|||
use crate::storage_engine::Column;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
DecodeError(DecodeErrorKind, bincode::error::DecodeError),
|
||||
EncodeError(bincode::error::EncodeError),
|
||||
AttemptToIndexNonIndexableColumn(Column),
|
||||
IndexIsStoringEofFilePosition(Column),
|
||||
IoError(std::io::Error),
|
||||
InvalidStoreHeader,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue