pub trait LeafProxyInterface: Send + Sync {
type GetStringResponseFut: Future<Output = Result<String, Error>> + Send;
// Required method
fn get_string(&self) -> Self::GetStringResponseFut;
}Required Associated Types§
Required Methods§
fn get_string(&self) -> Self::GetStringResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".