[][src]Struct rust_runc::RuncConfiguration

pub struct RuncConfiguration {
    pub command: Option<PathBuf>,
    pub timeout: Option<Duration>,
    pub root: Option<PathBuf>,
    pub debug: bool,
    pub log: Option<PathBuf>,
    pub log_format: Option<RuncLogFormat>,
    pub systemd_cgroup: bool,
    pub rootless: Option<bool>,
}

Runc client configuration

Fields

command: Option<PathBuf>

Path to a runc binary (optional)

timeout: Option<Duration>

Runc command timeouts

root: Option<PathBuf>

Path to runc root directory

debug: bool

Enable runc debug logging

log: Option<PathBuf>

Path to write runc logs

log_format: Option<RuncLogFormat>

Write runc logs in text or json format

systemd_cgroup: bool

Use systemd cgroups

rootless: Option<bool>

Run in rootless mode

Trait Implementations

impl Clone for RuncConfiguration[src]

impl Debug for RuncConfiguration[src]

impl Default for RuncConfiguration[src]

Auto Trait Implementations

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> From<T> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,