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