pub trait AsyncMainOutput<'a> {
    fn main_output(
        self,
        error_template_image: Option<Image>
    ) -> Pin<Box<dyn Future<Output = ()> + 'a>>; }
Available on crate feature tokio only.
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.

Implementors