Skip to main content

ReverserProxyInterface

Trait ReverserProxyInterface 

Source
pub trait ReverserProxyInterface: Send + Sync {
    type ReverseResponseFut: Future<Output = Result<String, Error>> + Send;

    // Required method
    fn reverse(&self, input: &str) -> Self::ReverseResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn reverse(&self, input: &str) -> Self::ReverseResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§