pub struct IndividualStoragePermissions<C: Chip, D: ProcessStandardDebug, CAP: ApplicationStorageCapability> { /* private fields */ }
Expand description
Assign storage permissions that grant applications access to their own state.
Implementations§
Source§impl<C: Chip, D: ProcessStandardDebug, CAP: ApplicationStorageCapability> IndividualStoragePermissions<C, D, CAP>
impl<C: Chip, D: ProcessStandardDebug, CAP: ApplicationStorageCapability> IndividualStoragePermissions<C, D, CAP>
Trait Implementations§
Source§impl<C: Chip, D: ProcessStandardDebug, CAP: ApplicationStorageCapability> ProcessStandardStoragePermissionsPolicy<C, D> for IndividualStoragePermissions<C, D, CAP>
impl<C: Chip, D: ProcessStandardDebug, CAP: ApplicationStorageCapability> ProcessStandardStoragePermissionsPolicy<C, D> for IndividualStoragePermissions<C, D, CAP>
Source§fn get_permissions(
&self,
process: &ProcessStandard<'_, C, D>,
) -> StoragePermissions
fn get_permissions( &self, process: &ProcessStandard<'_, C, D>, ) -> StoragePermissions
Return the storage permissions for the specified
process
.Auto Trait Implementations§
impl<C, D, CAP> Freeze for IndividualStoragePermissions<C, D, CAP>where
CAP: Freeze,
impl<C, D, CAP> RefUnwindSafe for IndividualStoragePermissions<C, D, CAP>
impl<C, D, CAP> Send for IndividualStoragePermissions<C, D, CAP>
impl<C, D, CAP> Sync for IndividualStoragePermissions<C, D, CAP>
impl<C, D, CAP> Unpin for IndividualStoragePermissions<C, D, CAP>
impl<C, D, CAP> UnwindSafe for IndividualStoragePermissions<C, D, CAP>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more