[][src]Struct r3::kernel::StartupHook

pub struct StartupHook<System>(_);

Represents a registered startup hook in a system.

There are no operations defined for startup hooks, so this type is only used for static configuration.

Startup hooks execute during the boot process with CPU Lock active, after initializing kernel structures and before scheduling the first task.

Relation to Other Specifications: StartupHook (AUTOSAR OS, OSEK/VDX), last function (TI-RTOS), initialization routine (μITRON4.0).

Implementations

impl<System: Port> StartupHook<System>[src]

pub const fn build() -> CfgStartupHookBuilder<System>[src]

Construct a CfgStartupHookBuilder to register a startup hook in a configuration function.

Auto Trait Implementations

impl<System> Send for StartupHook<System> where
    System: Send

impl<System> Sync for StartupHook<System> where
    System: Sync

impl<System> Unpin for StartupHook<System> where
    System: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.