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§

Required Methods§

Implementors§