pub enum ControllerBasicError {
SclClient(Error),
System(String),
Application,
Configuration(String),
}Expand description
General error type for any controller’s errors related only to the SCL API and controller’s behavior itself.
Variants§
SclClient(Error)
Indicates that an error occurred during SCL API interaction.
System(String)
Indicates that an error occurred while running a child process on the local system.
Application
Indicates logic problems that should to be fixed.
Configuration(String)
Indicates that the controller cannot properly work because the execution environment is lacking (e.g., cannot find required programs).
Trait Implementations§
Source§impl Debug for ControllerBasicError
impl Debug for ControllerBasicError
Source§impl Display for ControllerBasicError
impl Display for ControllerBasicError
Source§impl Error for ControllerBasicError
impl Error for ControllerBasicError
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 ControllerBasicError
impl !RefUnwindSafe for ControllerBasicError
impl Send for ControllerBasicError
impl Sync for ControllerBasicError
impl Unpin for ControllerBasicError
impl !UnwindSafe for ControllerBasicError
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