#[non_exhaustive]pub enum ComposeRuntime {
DockerEngine(PlatformVersion),
Podman(PlatformVersion),
}Expand description
Exact backend runtime used by the selected Compose provider.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DockerEngine(PlatformVersion)
Docker Engine at an exact version.
Podman(PlatformVersion)
Podman at an exact version.
Trait Implementations§
Source§impl Clone for ComposeRuntime
impl Clone for ComposeRuntime
Source§fn clone(&self) -> ComposeRuntime
fn clone(&self) -> ComposeRuntime
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 ComposeRuntime
Source§impl Debug for ComposeRuntime
impl Debug for ComposeRuntime
impl Eq for ComposeRuntime
Source§impl PartialEq for ComposeRuntime
impl PartialEq for ComposeRuntime
impl StructuralPartialEq for ComposeRuntime
Auto Trait Implementations§
impl Freeze for ComposeRuntime
impl RefUnwindSafe for ComposeRuntime
impl Send for ComposeRuntime
impl Sync for ComposeRuntime
impl Unpin for ComposeRuntime
impl UnsafeUnpin for ComposeRuntime
impl UnwindSafe for ComposeRuntime
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