Enum commitlog::ReadError [] [src]

pub enum ReadError {
    Io(Error),
    CorruptLog,
    NoSuchSegment,
}

Error enum for commit log read operation.

Variants

Underlying IO error encountered by reading from the log

A segment in the log is corrupt, or the index itself is corrupt

Offset supplied was not invalid.

Trait Implementations

impl Debug for ReadError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ReadError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for ReadError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for ReadError
[src]

[src]

Performs the conversion.

impl From<MessageError> for ReadError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ReadError

impl Sync for ReadError