ContainerStateTerminatedGetExt

Trait ContainerStateTerminatedGetExt 

Source
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§

Source

fn reason(&self) -> Option<&str>

Source

fn exit_code(&self) -> i32

Source

fn signal(&self) -> Option<i32>

Provided Methods§

Implementors§