pub enum WriterError {
Lock(StoreLockError),
File(FileError),
}Expand description
Why a store’s file could not be created for writing: the store’s read lock, which the writer holds, or the file itself.
Variants§
Lock(StoreLockError)
The store could not be held for the write.
File(FileError)
Creating the file failed.
Trait Implementations§
Source§impl Debug for WriterError
impl Debug for WriterError
Source§impl Display for WriterError
impl Display for WriterError
Source§impl Error for WriterError
impl Error for WriterError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<FileError> for WriterError
impl From<FileError> for WriterError
Source§impl From<StoreLockError> for WriterError
impl From<StoreLockError> for WriterError
Source§fn from(source: StoreLockError) -> Self
fn from(source: StoreLockError) -> Self
Converts to this type from the input type.
Source§impl From<WriterError> for StagingFolderError
impl From<WriterError> for StagingFolderError
Source§fn from(source: WriterError) -> Self
fn from(source: WriterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WriterError
impl !RefUnwindSafe for WriterError
impl Send for WriterError
impl Sync for WriterError
impl Unpin for WriterError
impl UnsafeUnpin for WriterError
impl !UnwindSafe for WriterError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more