pub enum Error {
SystemError(String),
InvalidPath,
PermissionDenied,
NotFound,
}
Expand description
The errors this package returns.
Variants§
SystemError(String)
This is more of a generic error that something bad happened.
InvalidPath
The requested path was not valid (e.g. not UTF-8).
PermissionDenied
The process did not have permissions to perform the operation.
NotFound
The requested blob was not found.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin 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