Enum commitlog::ReadError
[−]
[src]
pub enum ReadError { Io(Error), CorruptLog, NoSuchSegment, }
Error enum for commit log read operation.
Variants
Io(Error)
Underlying IO error encountered by reading from the log
CorruptLog
A segment in the log is corrupt, or the index itself is corrupt
NoSuchSegment
Offset supplied was not invalid.
Trait Implementations
impl Debug for ReadError
[src]
impl Error for ReadError
[src]
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 Display for ReadError
[src]
impl From<Error> for ReadError
[src]
impl From<MessageError> for ReadError
[src]
fn from(e: MessageError) -> ReadError
Performs the conversion.