Enum RestartRuntimeError
pub enum RestartRuntimeError {
NotFound(String),
RestartFailed {
runtime_id: String,
message: String,
},
}Expand description
Error type returned by runtime restart operations.
Variants§
NotFound(String)
The requested runtime ID is not currently connected to the hub.
RestartFailed
The restart command was sent but failed (after retries).
Trait Implementations§
§impl Debug for RestartRuntimeError
impl Debug for RestartRuntimeError
§impl Display for RestartRuntimeError
impl Display for RestartRuntimeError
§impl Error for RestartRuntimeError
impl Error for RestartRuntimeError
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 RestartRuntimeError
impl RefUnwindSafe for RestartRuntimeError
impl Send for RestartRuntimeError
impl Sync for RestartRuntimeError
impl Unpin for RestartRuntimeError
impl UnsafeUnpin for RestartRuntimeError
impl UnwindSafe for RestartRuntimeError
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