Enum commitlog::AppendError [] [src]

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

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

Trait Implementations

impl Debug for AppendError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for AppendError
[src]

[src]

Performs the conversion.

impl Error for AppendError
[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 AppendError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for AppendError

impl Sync for AppendError