kernel::dynamic_binary_storage

Trait DynamicProcessLoad

Source
pub trait DynamicProcessLoad {
    // Required methods
    fn load(&self) -> Result<(), ErrorCode>;
    fn set_load_client(&self, client: &'static dyn DynamicProcessLoadClient);
}
Expand description

This interface supports loading processes at runtime.

Required Methods§

Source

fn load(&self) -> Result<(), ErrorCode>

Call to request kernel to load a new process.

Source

fn set_load_client(&self, client: &'static dyn DynamicProcessLoadClient)

Sets a client for the SequentialDynamicProcessLoading Object

When the client operation is done, it calls the load_done() function.

Implementors§

Source§

impl<'b, C: Chip + 'static, D: ProcessStandardDebug + 'static, F: NonvolatileStorage<'b>> DynamicProcessLoad for SequentialDynamicBinaryStorage<'_, 'b, C, D, F>

Loading interface exposed to the app_loader capsule