Enum commitlog::ReadError [−][src]
pub enum ReadError {
Io(Error),
CorruptLog,
NoSuchSegment,
}
Expand description
Error enum for commit log read operation.
Variants
Io(Error)
Underlying IO error encountered by reading from the log
Tuple Fields of Io
0: Error
A segment in the log is corrupt, or the index itself is corrupt
Offset supplied was not invalid.
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.