Skip to main content

ReplacerProxyInterface

Trait ReplacerProxyInterface 

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

    // Required method
    fn replace(&self, value: &str) -> Self::ReplaceResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn replace(&self, value: &str) -> Self::ReplaceResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§