Enum commitlog::AppendError
[−]
[src]
pub enum AppendError {
Io(Error),
FreshIndexNotWritable,
FreshSegmentNotWritable,
MessageSizeExceeded,
}Error enum for commit log Append operation.
Variants
Io(Error)The underlying file operations failed during the append attempt.
FreshIndexNotWritableA new index was created, but was unable to receive writes during the append operation. This could point to exhaustion of machine resources or other I/O issue.
FreshSegmentNotWritableA new segment was created, but was unable to receive writes during the append operation. This could point to exhaustion of machine resources or other I/O issue.
MessageSizeExceededIf a message that is larger than the per message size is tried to be appended it will not be allowed an will return an error
Trait Implementations
impl Debug for AppendError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<Error> for AppendError[src]
fn from(e: Error) -> AppendError[src]
Performs the conversion.
impl Error for AppendError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more