pub trait MainOutput {
    fn main_output(self, error_template_image: Option<Image>);
}
Expand description

Members of this trait can be returned from a main function annotated with main.

Required Methods

Displays this value as a menu, using the given template image in case of an error.

Implementations on Foreign Types

In the Err case, the menu will be prefixed with a menu item displaying the error_template_image and the text ?.

Implementors