pub enum RunnerError {
AlreadyRunning,
CliExec,
MetaReader(BufReaderError),
AlreadyClosed,
Process(Error),
ProcessNotFound,
}
Expand description
Represents the potential errors that can occur during runner operations.
Variants§
AlreadyRunning
An instance of the core is already running.
CliExec
Error encountered while running a CLI command.
MetaReader(BufReaderError)
Error encountered while reading ledger metadata.
AlreadyClosed
The instance of the core has already been closed.
Process(Error)
A process-related error occurred.
ProcessNotFound
An attempt was made to kill a process, but no process was found.
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<BufReaderError> for RunnerError
impl From<BufReaderError> for RunnerError
Source§fn from(source: BufReaderError) -> Self
fn from(source: BufReaderError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RunnerError
impl From<Error> for RunnerError
Source§impl From<RunnerError> for Error
impl From<RunnerError> for Error
Source§fn from(source: RunnerError) -> Self
fn from(source: RunnerError) -> 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