[−][src]Struct r3::kernel::StartupHook
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,
System: Send,
impl<System> Sync for StartupHook<System> where
System: Sync,
System: Sync,
impl<System> Unpin for StartupHook<System> where
System: Unpin,
System: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,