Enum tantivy::directory::error::OpenWriteError [−][src]
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]
impl From<OpenWriteError> for Error
fn from(error: OpenWriteError) -> Error
[src]
fn from(error: OpenWriteError) -> Error
Performs the conversion.
impl Debug for OpenWriteError
[src]
impl Debug for OpenWriteError
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<IOError> for OpenWriteError
[src]
impl From<IOError> for OpenWriteError
fn from(err: IOError) -> OpenWriteError
[src]
fn from(err: IOError) -> OpenWriteError
Performs the conversion.
impl Display for OpenWriteError
[src]
impl Display for OpenWriteError
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 StdError for OpenWriteError
[src]
impl StdError for OpenWriteError
Auto Trait Implementations
impl Send for OpenWriteError
impl Send for OpenWriteError
impl Sync for OpenWriteError
impl Sync for OpenWriteError