kernel::process

Trait ProcessLoadingAsync

Source
pub trait ProcessLoadingAsync<'a> {
    // Required methods
    fn set_client(&self, client: &'a dyn ProcessLoadingAsyncClient);
    fn set_policy(&self, policy: &'a dyn AppIdPolicy);
    fn start(&self);
}
Expand description

Asynchronous process loading.

Machines which implement this trait perform asynchronous process loading and signal completion through ProcessLoadingAsyncClient.

Various process loaders may exist. This includes a loader from a MCU’s integrated flash, or a loader from an external flash chip.

Required Methods§

Source

fn set_client(&self, client: &'a dyn ProcessLoadingAsyncClient)

Set the client to receive callbacks about process loading and when process loading has finished.

Source

fn set_policy(&self, policy: &'a dyn AppIdPolicy)

Set the credential checking policy for the loader.

Source

fn start(&self)

Start the process loading operation.

Implementors§