pub trait DiagnosticsProxyInterface: Send + Sync {
type LogDebugInfoToSyslogResponseFut: Future<Output = Result<(), Error>> + Send;
type GetProcessHandleForInspectionResponseFut: Future<Output = Result<Process, Error>> + Send;
// Required methods
fn log_debug_info_to_syslog(&self) -> Self::LogDebugInfoToSyslogResponseFut;
fn get_process_handle_for_inspection(
&self,
) -> Self::GetProcessHandleForInspectionResponseFut;
}Required Associated Types§
type LogDebugInfoToSyslogResponseFut: Future<Output = Result<(), Error>> + Send
type GetProcessHandleForInspectionResponseFut: Future<Output = Result<Process, Error>> + Send
Required Methods§
fn log_debug_info_to_syslog(&self) -> Self::LogDebugInfoToSyslogResponseFut
fn get_process_handle_for_inspection( &self, ) -> Self::GetProcessHandleForInspectionResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".