pub trait ControllerProxyInterface: Send + Sync {
type CreateGuestResponseFut: Future<Output = Result<ControllerCreateGuestResult, Error>> + Send;
// Required method
fn create_guest(
&self,
name: &str,
network: ClientEnd<NetworkMarker>,
mac: Option<&MacAddress>,
) -> Self::CreateGuestResponseFut;
}Required Associated Types§
type CreateGuestResponseFut: Future<Output = Result<ControllerCreateGuestResult, Error>> + Send
Required Methods§
fn create_guest( &self, name: &str, network: ClientEnd<NetworkMarker>, mac: Option<&MacAddress>, ) -> Self::CreateGuestResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".