pub trait DebugAgentProxyInterface: Send + Sync {
type ConnectResponseFut: Future<Output = Result<DebugAgentConnectResult, Error>> + Send;
type AttachToResponseFut: Future<Output = Result<DebugAgentAttachToResult, Error>> + Send;
type GetProcessInfoResponseFut: Future<Output = Result<DebugAgentGetProcessInfoResult, Error>> + Send;
type GetMinidumpsResponseFut: Future<Output = Result<DebugAgentGetMinidumpsResult, Error>> + Send;
// Required methods
fn connect(&self, socket: Socket) -> Self::ConnectResponseFut;
fn get_attached_processes(
&self,
iterator: ServerEnd<AttachedProcessIteratorMarker>,
) -> Result<(), Error>;
fn attach_to(
&self,
pattern: &str,
type_: FilterType,
options: &FilterOptions,
) -> Self::AttachToResponseFut;
fn get_process_info(
&self,
options: &GetProcessInfoOptions,
iterator: ServerEnd<ProcessInfoIteratorMarker>,
) -> Self::GetProcessInfoResponseFut;
fn get_minidumps(
&self,
options: &MinidumpOptions,
iterator: ServerEnd<MinidumpIteratorMarker>,
) -> Self::GetMinidumpsResponseFut;
}Required Associated Types§
type ConnectResponseFut: Future<Output = Result<DebugAgentConnectResult, Error>> + Send
type AttachToResponseFut: Future<Output = Result<DebugAgentAttachToResult, Error>> + Send
type GetProcessInfoResponseFut: Future<Output = Result<DebugAgentGetProcessInfoResult, Error>> + Send
type GetMinidumpsResponseFut: Future<Output = Result<DebugAgentGetMinidumpsResult, Error>> + Send
Required Methods§
fn connect(&self, socket: Socket) -> Self::ConnectResponseFut
fn get_attached_processes( &self, iterator: ServerEnd<AttachedProcessIteratorMarker>, ) -> Result<(), Error>
fn attach_to( &self, pattern: &str, type_: FilterType, options: &FilterOptions, ) -> Self::AttachToResponseFut
fn get_process_info( &self, options: &GetProcessInfoOptions, iterator: ServerEnd<ProcessInfoIteratorMarker>, ) -> Self::GetProcessInfoResponseFut
fn get_minidumps( &self, options: &MinidumpOptions, iterator: ServerEnd<MinidumpIteratorMarker>, ) -> Self::GetMinidumpsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".