pub trait MapperProxyInterface: Send + Sync {
type OpenSessionResponseFut: Future<Output = Result<MapperOpenSessionResult, Error>> + Send;
// Required method
fn open_session(
&self,
session: ServerEnd<MapperSessionMarker>,
mapping_vmo: Vmo,
port: Option<Port>,
delivery_queue: Option<Vmo>,
) -> Self::OpenSessionResponseFut;
}Required Associated Types§
type OpenSessionResponseFut: Future<Output = Result<MapperOpenSessionResult, Error>> + Send
Required Methods§
fn open_session( &self, session: ServerEnd<MapperSessionMarker>, mapping_vmo: Vmo, port: Option<Port>, delivery_queue: Option<Vmo>, ) -> Self::OpenSessionResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".