fidl_fuchsia_debugger

Trait DebugAgentProxyInterface

Source
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§

Required Methods§

Source

fn connect(&self, socket: Socket) -> Self::ConnectResponseFut

Source

fn get_attached_processes( &self, iterator: ServerEnd<AttachedProcessIteratorMarker>, ) -> Result<(), Error>

Source

fn attach_to( &self, pattern: &str, type_: FilterType, options: &FilterOptions, ) -> Self::AttachToResponseFut

Source

fn get_process_info( &self, options: &GetProcessInfoOptions, iterator: ServerEnd<ProcessInfoIteratorMarker>, ) -> Self::GetProcessInfoResponseFut

Source

fn get_minidumps( &self, options: &MinidumpOptions, iterator: ServerEnd<MinidumpIteratorMarker>, ) -> Self::GetMinidumpsResponseFut

Implementors§