pub enum FilesystemStorageError {
CouldNotCanonicalizeRoot {
path: PathBuf,
err: Error,
},
FailedToCreateDir {
path: PathBuf,
err: Error,
},
}
Expand description
A filesystem backend error.
Variants§
CouldNotCanonicalizeRoot
The storage path given could not be canonicalized.
FailedToCreateDir
Failed to create directory in storage path.
Trait Implementations§
Source§impl Debug for FilesystemStorageError
impl Debug for FilesystemStorageError
Source§impl Display for FilesystemStorageError
impl Display for FilesystemStorageError
Source§impl Error for FilesystemStorageError
impl Error for FilesystemStorageError
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()
Auto Trait Implementations§
impl Freeze for FilesystemStorageError
impl !RefUnwindSafe for FilesystemStorageError
impl Send for FilesystemStorageError
impl Sync for FilesystemStorageError
impl Unpin for FilesystemStorageError
impl !UnwindSafe for FilesystemStorageError
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