Skip to main content

WatcherProxyInterface

Trait WatcherProxyInterface 

Source
pub trait WatcherProxyInterface: Send + Sync {
    type GetCrashResponseFut: Future<Output = Result<WatcherGetCrashResult, Error>> + Send;
    type GetCrashEventResponseFut: Future<Output = Result<EventPair, Error>> + Send;

    // Required methods
    fn get_crash(
        &self,
        payload: &WatcherGetCrashRequest,
    ) -> Self::GetCrashResponseFut;
    fn get_crash_event(&self) -> Self::GetCrashEventResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§