pub struct StartError {
pub container: Option<String>,
pub may_have_run: bool,
pub error: Error,
}Expand description
A runner start that failed, with the container it may have left: Docker may have made, or even started, it before the request failed, as when its answer is lost.
Fields§
§container: Option<String>The container the start left, by ID, or by name when Docker could not say whether one exists; None when
none does. It may run.
may_have_run: boolWhether Docker may have started the container before the start failed: its runner may have taken a job, even if the container is gone now.
error: ErrorWhy the start failed.
Trait Implementations§
Source§impl Debug for StartError
impl Debug for StartError
Source§impl Display for StartError
impl Display for StartError
Source§impl Error for StartError
impl Error for StartError
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<StartError> for Error
For callers that go on whether or not a container was left.
impl From<StartError> for Error
For callers that go on whether or not a container was left.
Source§fn from(failed: StartError) -> Error
fn from(failed: StartError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StartError
impl !UnwindSafe for StartError
impl Forget for StartError
impl Freeze for StartError
impl Move for StartError
impl Send for StartError
impl Sync for StartError
impl Unpin for StartError
impl UnsafeUnpin for StartError
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