pub trait PlatformServices {
// Required method
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§
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§
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,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".