Enum commitlog::AppendError [−][src]
pub enum AppendError { Io(Error), FreshIndexNotWritable, FreshSegmentNotWritable, MessageSizeExceeded, InvalidOffset, }
Error enum for commit log Append operation.
Variants
Io(Error)
The underlying file operations failed during the append attempt.
FreshIndexNotWritable
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.
FreshSegmentNotWritable
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.
MessageSizeExceeded
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
InvalidOffset
The buffer contains an invalid offset value
Trait Implementations
impl Debug for AppendError
[src]
impl Debug for AppendError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for AppendError
[src]
impl From<Error> for AppendError
fn from(e: Error) -> AppendError
[src]
fn from(e: Error) -> AppendError
Performs the conversion.
impl Error for AppendError
[src]
impl Error for AppendError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for AppendError
[src]
impl Display for AppendError
Auto Trait Implementations
impl Send for AppendError
impl Send for AppendError
impl Sync for AppendError
impl Sync for AppendError