Enum tantivy::directory::error::OpenWriteError [] [src]

pub enum OpenWriteError {
    FileAlreadyExists(PathBuf),
    IOError(IOError),
}

Error that may occur when starting to write in a file

Variants

Our directory is WORM, writing an existing file is forbidden. Checkout the Directory documentation.

Any kind of IO error that happens when writing in the underlying IO device.

Trait Implementations

impl From<OpenWriteError> for Error
[src]

[src]

Performs the conversion.

impl Debug for OpenWriteError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<IOError> for OpenWriteError
[src]

[src]

Performs the conversion.

impl Display for OpenWriteError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for OpenWriteError
[src]

[src]

A short description of the error. Read more

[src]

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