pub struct ContainerProcessState { /* private fields */ }Expand description
ContainerProcessState holds information about the state of a container process.
Implementations§
Source§impl ContainerProcessState
impl ContainerProcessState
Sourcepub fn version(&self) -> &String
pub fn version(&self) -> &String
version is the version of the specification that is supported.
Source§impl ContainerProcessState
impl ContainerProcessState
Sourcepub fn version_mut(&mut self) -> &mut String
pub fn version_mut(&mut self) -> &mut String
version is the version of the specification that is supported.
Sourcepub fn fds_mut(&mut self) -> &mut Vec<String>
pub fn fds_mut(&mut self) -> &mut Vec<String>
fds is a string array containing the names of the file descriptors passed.
The index of the name in this array corresponds to index of the file
descriptor in the SCM_RIGHTS array.
Sourcepub fn metadata_mut(&mut self) -> &mut Option<String>
pub fn metadata_mut(&mut self) -> &mut Option<String>
opaque metadata.
Source§impl ContainerProcessState
impl ContainerProcessState
Sourcepub fn set_version(&mut self, val: String) -> &mut Self
pub fn set_version(&mut self, val: String) -> &mut Self
version is the version of the specification that is supported.
Sourcepub fn set_fds(&mut self, val: Vec<String>) -> &mut Self
pub fn set_fds(&mut self, val: Vec<String>) -> &mut Self
fds is a string array containing the names of the file descriptors passed.
The index of the name in this array corresponds to index of the file
descriptor in the SCM_RIGHTS array.
Sourcepub fn set_metadata(&mut self, val: Option<String>) -> &mut Self
pub fn set_metadata(&mut self, val: Option<String>) -> &mut Self
opaque metadata.
Trait Implementations§
Source§impl Clone for ContainerProcessState
impl Clone for ContainerProcessState
Source§fn clone(&self) -> ContainerProcessState
fn clone(&self) -> ContainerProcessState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerProcessState
impl Debug for ContainerProcessState
Source§impl Default for ContainerProcessState
impl Default for ContainerProcessState
Source§fn default() -> ContainerProcessState
fn default() -> ContainerProcessState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerProcessState
impl<'de> Deserialize<'de> for ContainerProcessState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContainerProcessState
impl PartialEq for ContainerProcessState
Source§impl Serialize for ContainerProcessState
impl Serialize for ContainerProcessState
impl Eq for ContainerProcessState
impl StructuralPartialEq for ContainerProcessState
Auto Trait Implementations§
impl Freeze for ContainerProcessState
impl RefUnwindSafe for ContainerProcessState
impl Send for ContainerProcessState
impl Sync for ContainerProcessState
impl Unpin for ContainerProcessState
impl UnwindSafe for ContainerProcessState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)