#[non_exhaustive]pub enum StartFailed {
NotHere(Engine),
Denied(String),
Step(StepFailed),
AgreementNotAccepted(Engine),
WaitingForUser(Engine),
NoAnswer {
engine: Engine,
waited: Duration,
last: String,
},
}Expand description
Why an engine wasn’t started.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotHere(Engine)
It isn’t one a setup starts on this OS: its user starts it.
Denied(String)
The daemon runs, but refuses this account (its socket’s or pipe’s permission): starting it can’t help, joining its group (and a new login) does. What the CLI said.
Step(StepFailed)
A start step failed.
AgreementNotAccepted(Engine)
Docker Desktop, opened, shows Docker’s Subscription Service Agreement in its own window,
which its user hasn’t accepted (its settings say so, super::agreement_accepted): they
accept it there themselves, and its engine answers once they have. Nothing accepts it for
them.
WaitingForUser(Engine)
Docker Desktop, opened, waits for its user in its own window: its first start’s setup to
finish (its backend never started within DESKTOP_BACKEND_GRACE, or, on Windows, it
wrote no settings by then). It answers once they have.
NoAnswer
Started, it gave no answer within START_TRIES asks: why the last one failed.
Trait Implementations§
Source§impl Clone for StartFailed
impl Clone for StartFailed
Source§impl Debug for StartFailed
impl Debug for StartFailed
Source§impl Display for StartFailed
impl Display for StartFailed
impl Eq for StartFailed
Source§impl Error for StartFailed
impl Error for StartFailed
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for StartFailed
impl PartialEq for StartFailed
impl StructuralPartialEq for StartFailed
Auto Trait Implementations§
impl Forget for StartFailed
impl Freeze for StartFailed
impl Move for StartFailed
impl RefUnwindSafe for StartFailed
impl Send for StartFailedwhere
RawVecInner: Send,
impl Sync for StartFailedwhere
RawVecInner: Sync,
impl Unpin for StartFailed
impl UnsafeUnpin for StartFailed
impl UnwindSafe for StartFailedwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.