pub struct ExecExit {
pub exit_code: i32,
pub oom_killed: bool,
}Expand description
Final exit notification from a streaming exec.
Fields§
§exit_code: i32Process exit code.
oom_killed: boolSet when the process (or its memory cgroup) was killed by the
out-of-memory killer. Carried back so the CRI can report the container
exit reason as OOMKilled. Defaults to false for wire compatibility.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExecExit
impl<'de> Deserialize<'de> for ExecExit
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
Auto Trait Implementations§
impl Freeze for ExecExit
impl RefUnwindSafe for ExecExit
impl Send for ExecExit
impl Sync for ExecExit
impl Unpin for ExecExit
impl UnsafeUnpin for ExecExit
impl UnwindSafe for ExecExit
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