Skip to main content

LoadSstSection

Trait LoadSstSection 

pub trait LoadSstSection<C> {
    // Required method
    fn load_sst_section<'bc>(
        &mut self,
        section: SstSectionView<'bc, C>,
    ) -> Result<(), Report>;
}
Expand description

Allow a machine to load an SST section completely.

For composites generated by [vihaco_runtime_derive::composite], this loads the composite’s own section through LoadOwnSstSection and then forwards direct child sections to #[loadable] devices.

Required Methods§

fn load_sst_section<'bc>( &mut self, section: SstSectionView<'bc, C>, ) -> Result<(), Report>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§