pub trait LifecycleControllerProxyInterface: Send + Sync {
    type StartInstanceResponseFut: Future<Output = Result<LifecycleControllerStartInstanceResult, Error>> + Send;
    type StopInstanceResponseFut: Future<Output = Result<LifecycleControllerStopInstanceResult, Error>> + Send;
    type ResolveInstanceResponseFut: Future<Output = Result<LifecycleControllerResolveInstanceResult, Error>> + Send;
    type UnresolveInstanceResponseFut: Future<Output = Result<LifecycleControllerUnresolveInstanceResult, Error>> + Send;
    type CreateInstanceResponseFut: Future<Output = Result<LifecycleControllerCreateInstanceResult, Error>> + Send;
    type DestroyInstanceResponseFut: Future<Output = Result<LifecycleControllerDestroyInstanceResult, Error>> + Send;

    // Required methods
    fn start_instance(
        &self,
        moniker: &str,
        binder: ServerEnd<BinderMarker>
    ) -> Self::StartInstanceResponseFut;
    fn stop_instance(&self, moniker: &str) -> Self::StopInstanceResponseFut;
    fn resolve_instance(
        &self,
        moniker: &str
    ) -> Self::ResolveInstanceResponseFut;
    fn unresolve_instance(
        &self,
        moniker: &str
    ) -> Self::UnresolveInstanceResponseFut;
    fn create_instance(
        &self,
        parent_moniker: &str,
        collection: &CollectionRef,
        decl: &Child,
        args: CreateChildArgs
    ) -> Self::CreateInstanceResponseFut;
    fn destroy_instance(
        &self,
        parent_moniker: &str,
        child: &ChildRef
    ) -> Self::DestroyInstanceResponseFut;
}

Required Associated Types§

Required Methods§

source

fn start_instance( &self, moniker: &str, binder: ServerEnd<BinderMarker> ) -> Self::StartInstanceResponseFut

source

fn stop_instance(&self, moniker: &str) -> Self::StopInstanceResponseFut

source

fn resolve_instance(&self, moniker: &str) -> Self::ResolveInstanceResponseFut

source

fn unresolve_instance( &self, moniker: &str ) -> Self::UnresolveInstanceResponseFut

source

fn create_instance( &self, parent_moniker: &str, collection: &CollectionRef, decl: &Child, args: CreateChildArgs ) -> Self::CreateInstanceResponseFut

source

fn destroy_instance( &self, parent_moniker: &str, child: &ChildRef ) -> Self::DestroyInstanceResponseFut

Implementors§