pub enum RuntimeBackendKind {
Auto,
Docker,
Podman,
Systemd,
Incus,
Kubernetes,
}Expand description
Selectable runtime backend kinds.
Variants§
Auto
Auto-detect available runtime (Docker → Podman → systemd → Incus).
Docker
Docker Engine API.
Podman
Podman (Docker-compatible API, different default socket).
Systemd
systemd D-Bus.
Incus
Incus/LXD REST API.
Kubernetes
Kubernetes watch API.
Implementations§
Source§impl RuntimeBackendKind
impl RuntimeBackendKind
Sourcepub fn from_str_loose(s: &str) -> Option<Self>
pub fn from_str_loose(s: &str) -> Option<Self>
Parse from a CLI string.
Trait Implementations§
Source§impl Clone for RuntimeBackendKind
impl Clone for RuntimeBackendKind
Source§fn clone(&self) -> RuntimeBackendKind
fn clone(&self) -> RuntimeBackendKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeBackendKind
Source§impl Debug for RuntimeBackendKind
impl Debug for RuntimeBackendKind
Source§impl Display for RuntimeBackendKind
impl Display for RuntimeBackendKind
impl Eq for RuntimeBackendKind
Source§impl PartialEq for RuntimeBackendKind
impl PartialEq for RuntimeBackendKind
Source§fn eq(&self, other: &RuntimeBackendKind) -> bool
fn eq(&self, other: &RuntimeBackendKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeBackendKind
Auto Trait Implementations§
impl Freeze for RuntimeBackendKind
impl RefUnwindSafe for RuntimeBackendKind
impl Send for RuntimeBackendKind
impl Sync for RuntimeBackendKind
impl Unpin for RuntimeBackendKind
impl UnsafeUnpin for RuntimeBackendKind
impl UnwindSafe for RuntimeBackendKind
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
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
Compare self to
key and return true if they are equal.