fidl_fuchsia_power_brokerTrait ElementControlProxyInterface
Source pub trait ElementControlProxyInterface: Send + Sync {
type RegisterDependencyTokenResponseFut: Future<Output = Result<ElementControlRegisterDependencyTokenResult, Error>> + Send;
type UnregisterDependencyTokenResponseFut: Future<Output = Result<ElementControlUnregisterDependencyTokenResult, Error>> + Send;
// Required methods
fn open_status_channel(
&self,
status_channel: ServerEnd<StatusMarker>,
) -> Result<(), Error>;
fn register_dependency_token(
&self,
token: Event,
dependency_type: DependencyType,
) -> Self::RegisterDependencyTokenResponseFut;
fn unregister_dependency_token(
&self,
token: Event,
) -> Self::UnregisterDependencyTokenResponseFut;
}