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