pub trait ControllerProxyInterface: Send + Sync {
type StartResponseFut: Future<Output = Result<ControllerStartResult, Error>> + Send;
type IsStartedResponseFut: Future<Output = Result<ControllerIsStartedResult, Error>> + Send;
type OpenExposedDirResponseFut: Future<Output = Result<ControllerOpenExposedDirResult, Error>> + Send;
type GetExposedDictionaryResponseFut: Future<Output = Result<ControllerGetExposedDictionaryResult, Error>> + Send;
type GetOutputDictionaryResponseFut: Future<Output = Result<ControllerGetOutputDictionaryResult, Error>> + Send;
type DestroyResponseFut: Future<Output = Result<ControllerDestroyResult, Error>> + Send;
// Required methods
fn start(
&self,
args: StartChildArgs,
execution_controller: ServerEnd<ExecutionControllerMarker>,
) -> Self::StartResponseFut;
fn is_started(&self) -> Self::IsStartedResponseFut;
fn open_exposed_dir(
&self,
exposed_dir: ServerEnd<DirectoryMarker>,
) -> Self::OpenExposedDirResponseFut;
fn get_exposed_dictionary(&self) -> Self::GetExposedDictionaryResponseFut;
fn get_output_dictionary(&self) -> Self::GetOutputDictionaryResponseFut;
fn destroy(&self) -> Self::DestroyResponseFut;
}Required Associated Types§
type StartResponseFut: Future<Output = Result<ControllerStartResult, Error>> + Send
type IsStartedResponseFut: Future<Output = Result<ControllerIsStartedResult, Error>> + Send
type OpenExposedDirResponseFut: Future<Output = Result<ControllerOpenExposedDirResult, Error>> + Send
type GetExposedDictionaryResponseFut: Future<Output = Result<ControllerGetExposedDictionaryResult, Error>> + Send
type GetOutputDictionaryResponseFut: Future<Output = Result<ControllerGetOutputDictionaryResult, Error>> + Send
type DestroyResponseFut: Future<Output = Result<ControllerDestroyResult, Error>> + Send
Required Methods§
fn start( &self, args: StartChildArgs, execution_controller: ServerEnd<ExecutionControllerMarker>, ) -> Self::StartResponseFut
fn is_started(&self) -> Self::IsStartedResponseFut
fn open_exposed_dir( &self, exposed_dir: ServerEnd<DirectoryMarker>, ) -> Self::OpenExposedDirResponseFut
fn get_exposed_dictionary(&self) -> Self::GetExposedDictionaryResponseFut
fn get_output_dictionary(&self) -> Self::GetOutputDictionaryResponseFut
fn destroy(&self) -> Self::DestroyResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".