Enum StopRuntimeError
pub enum StopRuntimeError {
NotFound(String),
RunnerDisabled,
StopFailed {
runtime_id: String,
message: String,
},
}Expand description
Error type returned by runtime stop operations.
Variants§
NotFound(String)
The requested runtime ID is not currently connected to the hub.
RunnerDisabled
The hub has no runner configured; start/stop is disabled.
StopFailed
The stop command failed.
Trait Implementations§
§impl Debug for StopRuntimeError
impl Debug for StopRuntimeError
§impl Display for StopRuntimeError
impl Display for StopRuntimeError
§impl Error for StopRuntimeError
impl Error for StopRuntimeError
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 StopRuntimeError
impl RefUnwindSafe for StopRuntimeError
impl Send for StopRuntimeError
impl Sync for StopRuntimeError
impl Unpin for StopRuntimeError
impl UnsafeUnpin for StopRuntimeError
impl UnwindSafe for StopRuntimeError
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