pub trait ContainerStateTerminatedGetExt {
// Required methods
fn reason(&self) -> Option<&str>;
fn exit_code(&self) -> i32;
fn signal(&self) -> Option<i32>;
// Provided method
fn access_reason(&self) -> String { ... }
}Required Methods§
fn reason(&self) -> Option<&str>
fn exit_code(&self) -> i32
fn signal(&self) -> Option<i32>
Provided Methods§
fn access_reason(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".