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
FileAlreadyExists(PathBuf)
Our directory is WORM, writing an existing file is forbidden.
Checkout the Directory
documentation.
IOError(IOError)
Any kind of IO error that happens when writing in the underlying IO device.
Trait Implementations
impl From<OpenWriteError> for Error
[src]
fn from(error: OpenWriteError) -> Error
[src]
Performs the conversion.
impl Debug for OpenWriteError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<IOError> for OpenWriteError
[src]
fn from(err: IOError) -> OpenWriteError
[src]
Performs the conversion.
impl Display for OpenWriteError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more