Skip to main content

DiagnosticsProxyInterface

Trait DiagnosticsProxyInterface 

Source
pub trait DiagnosticsProxyInterface: Send + Sync {
    type IterateIpResponseFut: Future<Output = Result<IterateIpResult, Error>> + Send;
    type GetDestructionWatcherResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn iterate_ip(
        &self,
        s: ServerEnd<IpIteratorMarker>,
        extensions: Extensions,
        matchers: &[IpSocketMatcher],
    ) -> Self::IterateIpResponseFut;
    fn get_destruction_watcher(
        &self,
        watcher: ServerEnd<DestructionWatcherMarker>,
    ) -> Self::GetDestructionWatcherResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§