pub trait AllocatorProxyInterface: Send + Sync {
type ValidateBufferCollectionTokenResponseFut: Future<Output = Result<AllocatorValidateBufferCollectionTokenResponse, Error>> + Send;
type GetVmoInfoResponseFut: Future<Output = Result<AllocatorGetVmoInfoResult, Error>> + Send;
// Required methods
fn allocate_non_shared_collection(
&self,
payload: AllocatorAllocateNonSharedCollectionRequest,
) -> Result<(), Error>;
fn allocate_shared_collection(
&self,
payload: AllocatorAllocateSharedCollectionRequest,
) -> Result<(), Error>;
fn bind_shared_collection(
&self,
payload: AllocatorBindSharedCollectionRequest,
) -> Result<(), Error>;
fn validate_buffer_collection_token(
&self,
payload: &AllocatorValidateBufferCollectionTokenRequest,
) -> Self::ValidateBufferCollectionTokenResponseFut;
fn set_debug_client_info(
&self,
payload: &AllocatorSetDebugClientInfoRequest,
) -> Result<(), Error>;
fn get_vmo_info(
&self,
payload: AllocatorGetVmoInfoRequest,
) -> Self::GetVmoInfoResponseFut;
}Required Associated Types§
type ValidateBufferCollectionTokenResponseFut: Future<Output = Result<AllocatorValidateBufferCollectionTokenResponse, Error>> + Send
type GetVmoInfoResponseFut: Future<Output = Result<AllocatorGetVmoInfoResult, Error>> + Send
Required Methods§
fn validate_buffer_collection_token( &self, payload: &AllocatorValidateBufferCollectionTokenRequest, ) -> Self::ValidateBufferCollectionTokenResponseFut
fn set_debug_client_info( &self, payload: &AllocatorSetDebugClientInfoRequest, ) -> Result<(), Error>
fn get_vmo_info( &self, payload: AllocatorGetVmoInfoRequest, ) -> Self::GetVmoInfoResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".