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