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§
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".