riot_wrappers::main

Trait Termination

Source
pub trait Termination {
    // Required method
    fn report(self) -> i32;
}
Expand description

A result trait for main methods, analogous to std::process::Termination

Required Methods§

Source

fn report(self) -> i32

Implementations on Foreign Types§

Source§

impl Termination for Infallible

Source§

fn report(self) -> i32

Source§

impl Termination for i32

Source§

fn report(self) -> i32

Source§

impl Termination for !

Source§

fn report(self) -> i32

Source§

impl Termination for ()

Source§

fn report(self) -> i32

Source§

impl<E: Debug> Termination for Result<!, E>

Source§

fn report(self) -> i32

Source§

impl<E: Debug> Termination for Result<(), E>

Source§

fn report(self) -> i32

Implementors§