Enum commitlog::AppendError[][src]

pub enum AppendError {
    Io(Error),
    FreshIndexNotWritable,
    FreshSegmentNotWritable,
    MessageSizeExceeded,
    InvalidOffset,
}

Error enum for commit log Append operation.

Variants

The underlying file operations failed during the append attempt.

A 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.

A 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.

If 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

The buffer contains an invalid offset value

Trait Implementations

impl Debug for AppendError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for AppendError
[src]

Performs the conversion.

impl Error for AppendError
[src]

This method is soft-deprecated. Read more

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

impl Display for AppendError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for AppendError

impl Sync for AppendError