pub enum RunnerError {
ConfigNotFound,
ConfigReadError(ConfigError),
PkgsDirNotADir,
PkgsDirNotFound,
Io(IoError),
LoadModuleError {
source: LoadError,
module: String,
},
UnloadModuleError {
source: UnloadError,
module: String,
},
NoActionToRollback,
}Variants§
ConfigNotFound
ConfigReadError(ConfigError)
PkgsDirNotADir
PkgsDirNotFound
Io(IoError)
LoadModuleError
UnloadModuleError
NoActionToRollback
Implementations§
Source§impl RunnerError
impl RunnerError
pub fn unwrap_load(self) -> LoadError
pub fn unwrap_unload(self) -> UnloadError
Trait Implementations§
Source§impl Debug for RunnerError
impl Debug for RunnerError
Source§impl Display for RunnerError
impl Display for RunnerError
Source§impl Error for RunnerError
impl Error for RunnerError
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()
Source§impl From<ConfigError> for RunnerError
impl From<ConfigError> for RunnerError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RunnerError
impl !RefUnwindSafe for RunnerError
impl Send for RunnerError
impl Sync for RunnerError
impl Unpin for RunnerError
impl !UnwindSafe for RunnerError
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