Trait sel4_root_task::Termination

source ·
pub trait Termination {
    type Error: Debug;

    // Required method
    fn report(self) -> Self::Error;
}
Expand description

Trait for the return type of #[root_task] main functions.

Required Associated Types§

source

type Error: Debug

Required Methods§

source

fn report(self) -> Self::Error

Implementations on Foreign Types§

source§

impl Termination for !

source§

type Error = !

source§

fn report(self) -> Self::Error

source§

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

source§

type Error = E

source§

fn report(self) -> Self::Error

source§

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

source§

type Error = E

source§

fn report(self) -> Self::Error

Implementors§