[][src]Trait proc_exit::ProcessExitResultExt

pub trait ProcessExitResultExt {
    pub fn process_exit(self) -> !;
pub fn report(self) -> Code; }

Extension for main() functions`.

Required methods

pub fn process_exit(self) -> ![src]

Report any error message and exit.

pub fn report(self) -> Code[src]

Report, delegating exiting to the caller.

Loading content...

Implementations on Foreign Types

impl ProcessExitResultExt for Result<(), Exit>[src]

Loading content...

Implementors

Loading content...