pub enum OverlayBackendError {
NotLinux,
NotSupported {
reason: String,
},
Io(Error),
Command {
command: String,
stderr: String,
exit_code: Option<i32>,
},
NotFound {
name: String,
},
}Expand description
Errors produced by the OverlayFS workspace backend.
Variants§
NotLinux
OverlayFS backend is Linux-only.
NotSupported
Neither fuse-overlayfs nor kernel overlayfs (user namespaces) is available.
Io(Error)
An I/O error occurred.
Command
An external command failed.
NotFound
The workspace does not exist.
Trait Implementations§
Source§impl Debug for OverlayBackendError
impl Debug for OverlayBackendError
Source§impl Display for OverlayBackendError
impl Display for OverlayBackendError
Source§impl Error for OverlayBackendError
impl Error for OverlayBackendError
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 OverlayBackendError
impl !RefUnwindSafe for OverlayBackendError
impl Send for OverlayBackendError
impl Sync for OverlayBackendError
impl Unpin for OverlayBackendError
impl UnsafeUnpin for OverlayBackendError
impl !UnwindSafe for OverlayBackendError
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