fidl_fuchsia_sysmem2

Trait SecureMemProxyInterface

Source
pub trait SecureMemProxyInterface: Send + Sync {
    type GetPhysicalSecureHeapsResponseFut: Future<Output = Result<SecureMemGetPhysicalSecureHeapsResult, Error>> + Send;
    type GetDynamicSecureHeapsResponseFut: Future<Output = Result<SecureMemGetDynamicSecureHeapsResult, Error>> + Send;
    type GetPhysicalSecureHeapPropertiesResponseFut: Future<Output = Result<SecureMemGetPhysicalSecureHeapPropertiesResult, Error>> + Send;
    type AddSecureHeapPhysicalRangeResponseFut: Future<Output = Result<SecureMemAddSecureHeapPhysicalRangeResult, Error>> + Send;
    type DeleteSecureHeapPhysicalRangeResponseFut: Future<Output = Result<SecureMemDeleteSecureHeapPhysicalRangeResult, Error>> + Send;
    type ModifySecureHeapPhysicalRangeResponseFut: Future<Output = Result<SecureMemModifySecureHeapPhysicalRangeResult, Error>> + Send;
    type ZeroSubRangeResponseFut: Future<Output = Result<SecureMemZeroSubRangeResult, Error>> + Send;

    // Required methods
    fn get_physical_secure_heaps(
        &self,
    ) -> Self::GetPhysicalSecureHeapsResponseFut;
    fn get_dynamic_secure_heaps(&self) -> Self::GetDynamicSecureHeapsResponseFut;
    fn get_physical_secure_heap_properties(
        &self,
        payload: &SecureMemGetPhysicalSecureHeapPropertiesRequest,
    ) -> Self::GetPhysicalSecureHeapPropertiesResponseFut;
    fn add_secure_heap_physical_range(
        &self,
        payload: &SecureMemAddSecureHeapPhysicalRangeRequest,
    ) -> Self::AddSecureHeapPhysicalRangeResponseFut;
    fn delete_secure_heap_physical_range(
        &self,
        payload: &SecureMemDeleteSecureHeapPhysicalRangeRequest,
    ) -> Self::DeleteSecureHeapPhysicalRangeResponseFut;
    fn modify_secure_heap_physical_range(
        &self,
        payload: &SecureMemModifySecureHeapPhysicalRangeRequest,
    ) -> Self::ModifySecureHeapPhysicalRangeResponseFut;
    fn zero_sub_range(
        &self,
        payload: &SecureMemZeroSubRangeRequest,
    ) -> Self::ZeroSubRangeResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§