kernel::process

Trait ProcessStandardStoragePermissionsPolicy

Source
pub trait ProcessStandardStoragePermissionsPolicy<C: Chip, D: ProcessStandardDebug> {
    // Required method
    fn get_permissions(
        &self,
        process: &ProcessStandard<'_, C, D>,
    ) -> StoragePermissions;
}
Expand description

Generic trait for implementing a policy on how applications should be assigned storage permissions.

Required Methods§

Source

fn get_permissions( &self, process: &ProcessStandard<'_, C, D>, ) -> StoragePermissions

Return the storage permissions for the specified process.

Implementations on Foreign Types§

Source§

impl<C: Chip, D: ProcessStandardDebug> ProcessStandardStoragePermissionsPolicy<C, D> for ()

Source§

fn get_permissions( &self, _process: &ProcessStandard<'_, C, D>, ) -> StoragePermissions

Implementors§