Skip to main content

MapperProxyInterface

Trait MapperProxyInterface 

Source
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§

Required Methods§

Source

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".

Implementors§