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 { ... }
}
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 { ... }
}