Trait BalloonOperations
Source pub trait BalloonOperations {
// Required methods
fn get_balloon_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Balloon, FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn put_balloon_config<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 Balloon,
) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn patch_balloon_config<'life0, 'life1, 'async_trait>(
&'life0 self,
update: &'life1 BalloonUpdate,
) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_balloon_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<BalloonStats, FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn patch_balloon_stats<'life0, 'life1, 'async_trait>(
&'life0 self,
update: &'life1 BalloonStatsUpdate,
) -> Pin<Box<dyn Future<Output = Result<(), FirecrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}