pub enum Error {
PathTooLong,
KeyTooLong,
NotFound,
Database,
Serialize,
}Expand description
Errors that can occur when using the virtual file system.
Variants§
PathTooLong
The path exceeds crate::EkvFs’s MAX_PATH_LEN const generic.
KeyTooLong
A storage key could not be formatted (path too long for key buffer).
NotFound
No file exists at the given path.
Database
The underlying ekv database returned an error.
Serialize
Metadata could not be encoded or decoded.
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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