Skip to main content

CrasherProxyInterface

Trait CrasherProxyInterface 

Source
pub trait CrasherProxyInterface: Send + Sync {
    type PingResponseFut: Future<Output = Result<u64, Error>> + Send;

    // Required methods
    fn ping(&self) -> Self::PingResponseFut;
    fn crash(&self) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn ping(&self) -> Self::PingResponseFut

Source

fn crash(&self) -> Result<(), Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§