Struct bollard::service::Runtime[][src]

pub struct Runtime {
    pub path: Option<String>,
    pub runtime_args: Option<Vec<String, Global>>,
}

Runtime describes an OCI compliant runtime. The runtime is invoked by the daemon via the containerd daemon. OCI runtimes act as an interface to the Linux kernel namespaces, cgroups, and SELinux.

Fields

path: Option<String>

Name and, optional, path, of the OCI executable binary. If the path is omitted, the daemon searches the host’s $PATH for the binary and uses the first result.

runtime_args: Option<Vec<String, Global>>

List of command-line arguments to pass to the runtime when invoked.

Trait Implementations

impl Clone for Runtime[src]

impl Debug for Runtime[src]

impl Default for Runtime[src]

impl<'de> Deserialize<'de> for Runtime[src]

impl PartialEq<Runtime> for Runtime[src]

impl Serialize for Runtime[src]

impl StructuralPartialEq for Runtime[src]

Auto Trait Implementations

impl RefUnwindSafe for Runtime

impl Send for Runtime

impl Sync for Runtime

impl Unpin for Runtime

impl UnwindSafe for Runtime

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.