Trait guest_cli::platform::PlatformServices

source ·
pub trait PlatformServices {
    // Required methods
    fn connect_to_linux_manager<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<LinuxManagerProxy>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn connect_to_manager<'life0, 'async_trait>(
        &'life0 self,
        guest_type: GuestType,
    ) -> Pin<Box<dyn Future<Output = Result<GuestManagerProxy>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;

    // Provided method
    fn connect_to_guest<'life0, 'async_trait>(
        &'life0 self,
        guest_type: GuestType,
    ) -> Pin<Box<dyn Future<Output = Result<GuestProxy>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}

Required Methods§

source

fn connect_to_linux_manager<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<LinuxManagerProxy>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn connect_to_manager<'life0, 'async_trait>( &'life0 self, guest_type: GuestType, ) -> Pin<Box<dyn Future<Output = Result<GuestManagerProxy>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

source

fn connect_to_guest<'life0, 'async_trait>( &'life0 self, guest_type: GuestType, ) -> Pin<Box<dyn Future<Output = Result<GuestProxy>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§