Trait BootImageLoader
Source pub trait BootImageLoader {
// Required methods
fn parse<'life0, 'async_trait>(
&'life0 self,
hvm: bool,
) -> Pin<Box<dyn Future<Output = Result<BootImageInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
image_info: &'life1 BootImageInfo,
dst: &'life2 mut [u8],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}