pub struct StateBuilder { /* private fields */ }Expand description
Builder for State.
Implementations§
Source§impl StateBuilder
impl StateBuilder
Sourcepub fn version<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn version<VALUE: Into<String>>(self, value: VALUE) -> Self
version is the version of the specification that is supported.
Sourcepub fn status<VALUE: Into<ContainerState>>(self, value: VALUE) -> Self
pub fn status<VALUE: Into<ContainerState>>(self, value: VALUE) -> Self
status is the runtime status of the container.
Sourcepub fn pid<VALUE: Into<i32>>(self, value: VALUE) -> Self
pub fn pid<VALUE: Into<i32>>(self, value: VALUE) -> Self
pid is the process ID for the container process.
Sourcepub fn bundle<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn bundle<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
bundle is the path to the container’s bundle directory.