pub enum EngineProblem {
NotInstalled,
DaemonStopped {
output: String,
},
MachineStopped {
output: String,
},
Refused {
code: Option<i32>,
output: String,
},
NoPermission {
output: String,
in_group: bool,
},
NoIdRanges {
line: String,
output: String,
},
NotRunnable {
bin: PathBuf,
message: String,
},
}Expand description
Why the chosen engine cannot be used.
The same distinctions the engine layer makes, kept in a shape the screen can hold on to and show: each one asks something different of the person.
Variants§
NotInstalled
No binary anywhere QCode looked; the engine has to be installed.
DaemonStopped
Docker is installed and its daemon is not answering; it has to be started.
MachineStopped
Podman is installed and the Linux virtual machine it works through is not running.
Refused
The engine ran and refused for a reason QCode does not recognise.
NoPermission
Docker answers and this account may not use it: it is not in the docker group, or it
was just added and this login began before that.
Fields
NoIdRanges
Podman works without root and this account has no subordinate id ranges, which every image with more than one user needs.
Fields
NotRunnable
A binary was found and could not be started at all.
Implementations§
Trait Implementations§
Source§impl Clone for EngineProblem
impl Clone for EngineProblem
Source§impl Debug for EngineProblem
impl Debug for EngineProblem
impl Eq for EngineProblem
Source§fn from(unavailable: Unavailable) -> Self
fn from(unavailable: Unavailable) -> Self
Source§impl PartialEq for EngineProblem
impl PartialEq for EngineProblem
impl StructuralPartialEq for EngineProblem
Auto Trait Implementations§
impl Freeze for EngineProblem
impl RefUnwindSafe for EngineProblem
impl Send for EngineProblem
impl Sync for EngineProblem
impl Unpin for EngineProblem
impl UnsafeUnpin for EngineProblem
impl UnwindSafe for EngineProblem
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more