pub trait InterfacesProxyInterface: Send + Sync {
type CloseBackingSessionResponseFut: Future<Output = Result<InterfacesCloseBackingSessionResult, Error>> + Send;
// Required methods
fn get_port(
&self,
id: u64,
port: ServerEnd<PortMarker>,
) -> Result<(), Error>;
fn close_backing_session(
&self,
id: u64,
) -> Self::CloseBackingSessionResponseFut;
}Required Associated Types§
type CloseBackingSessionResponseFut: Future<Output = Result<InterfacesCloseBackingSessionResult, Error>> + Send
Required Methods§
fn get_port(&self, id: u64, port: ServerEnd<PortMarker>) -> Result<(), Error>
fn close_backing_session(&self, id: u64) -> Self::CloseBackingSessionResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".