fidl_fuchsia_developer_remotecontrolTrait RemoteControlProxyInterface
Source pub trait RemoteControlProxyInterface: Send + Sync {
type EchoStringResponseFut: Future<Output = Result<String, Error>> + Send;
type LogMessageResponseFut: Future<Output = Result<(), Error>> + Send;
type IdentifyHostResponseFut: Future<Output = Result<RemoteControlIdentifyHostResult, Error>> + Send;
type ConnectCapabilityResponseFut: Future<Output = Result<RemoteControlConnectCapabilityResult, Error>> + Send;
type GetTimeResponseFut: Future<Output = Result<MonotonicInstant, Error>> + Send;
type GetBootTimeResponseFut: Future<Output = Result<BootInstant, Error>> + Send;
type DeprecatedOpenCapabilityResponseFut: Future<Output = Result<RemoteControlDeprecatedOpenCapabilityResult, Error>> + Send;
// Required methods
fn echo_string(&self, value: &str) -> Self::EchoStringResponseFut;
fn log_message(
&self,
tag: &str,
message: &str,
severity: Severity,
) -> Self::LogMessageResponseFut;
fn identify_host(&self) -> Self::IdentifyHostResponseFut;
fn connect_capability(
&self,
moniker: &str,
capability_set: OpenDirType,
capability_name: &str,
server_channel: Channel,
) -> Self::ConnectCapabilityResponseFut;
fn get_time(&self) -> Self::GetTimeResponseFut;
fn get_boot_time(&self) -> Self::GetBootTimeResponseFut;
fn deprecated_open_capability(
&self,
moniker: &str,
capability_set: OpenDirType,
capability_name: &str,
server_channel: Channel,
flags: OpenFlags,
) -> Self::DeprecatedOpenCapabilityResponseFut;
}