Trait DriveOperations

Source
pub trait DriveOperations {
    // Required methods
    fn put_drive<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        drive_id: &'life1 str,
        drive: &'life2 Drive,
    ) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn patch_drive<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        drive_id: &'life1 str,
        drive: &'life2 Drive,
    ) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn put_drive<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, drive_id: &'life1 str, drive: &'life2 Drive, ) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn patch_drive<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, drive_id: &'life1 str, drive: &'life2 Drive, ) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§