on_init

Attribute Macro on_init 

Source
#[on_init]
Expand description

The on_init function is a procedural macro attribute for hooking into the OnInit event. It allows you to define custom logic to be executed after a satellite is initialized.

Example:

#[on_init]
fn on_init() {
    // Your post-init logic here
}