Inventoriable

Trait Inventoriable 

Source
pub trait Inventoriable {
    // Required method
    fn list_resources<'life0, 'life1, 'async_trait>(
        &'life0 self,
        tags: &'life1 [String],
        include_block_storage: bool,
    ) -> Pin<Box<dyn Future<Output = Result<Inventory>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

A trait that you should implement to support vendor-specific inventory of cloud resources.

Required Methods§

Source

fn list_resources<'life0, 'life1, 'async_trait>( &'life0 self, tags: &'life1 [String], include_block_storage: bool, ) -> Pin<Box<dyn Future<Output = Result<Inventory>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Returns an inventory of cloud resources

Implementors§