Skip to main content

CloseableProxyInterface

Trait CloseableProxyInterface 

Source
pub trait CloseableProxyInterface: Send + Sync {
    type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send;

    // Required method
    fn close(&self) -> Self::CloseResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn close(&self) -> Self::CloseResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§