Enum chunk_store::Error
[−]
pub enum Error { Io(Error), Serialisation(SerialisationError), NotEnoughSpace, NotFound, }
ChunkStore
error.
Variants
Io(Error)
Error during filesystem IO operations.
Serialisation(SerialisationError)
Error during serialisation or deserialisation of keys or values.
NotEnoughSpace
Not enough space in ChunkStore
to perform put
.
NotFound
Key, Value pair not found in ChunkStore
.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
impl From<SerialisationError> for Error
fn from(error: SerialisationError) -> Error
Performs the conversion.