pub enum RfsError {
CommandFailed(String),
InvalidArgument(String),
MountFailed(String),
UnmountFailed(String),
ListFailed(String),
PackFailed(String),
Other(String),
}Expand description
Error types for RFS operations
Variants§
CommandFailed(String)
Command execution failed
InvalidArgument(String)
Invalid argument provided
MountFailed(String)
Mount operation failed
UnmountFailed(String)
Unmount operation failed
ListFailed(String)
List operation failed
PackFailed(String)
Pack operation failed
Other(String)
Other error
Trait Implementations§
Source§impl Error for RfsError
impl Error for RfsError
1.30.0 · 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 RfsError
impl RefUnwindSafe for RfsError
impl Send for RfsError
impl Sync for RfsError
impl Unpin for RfsError
impl UnsafeUnpin for RfsError
impl UnwindSafe for RfsError
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