Skip to content

Commit

Permalink
kernel: hil: kv: updated perms
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Jun 7, 2024
1 parent 0ec06f4 commit af2695f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kernel/src/hil/kv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pub trait KVPermissions<'a> {
&self,
key: SubSliceMut<'static, u8>,
value: SubSliceMut<'static, u8>,
permissions: StoragePermissions,
permissions: &dyn StoragePermissions,
) -> Result<
(),
(
Expand Down Expand Up @@ -213,7 +213,7 @@ pub trait KVPermissions<'a> {
&self,
key: SubSliceMut<'static, u8>,
value: SubSliceMut<'static, u8>,
permissions: StoragePermissions,
permissions: &dyn StoragePermissions,
) -> Result<
(),
(
Expand Down Expand Up @@ -251,7 +251,7 @@ pub trait KVPermissions<'a> {
&self,
key: SubSliceMut<'static, u8>,
value: SubSliceMut<'static, u8>,
permissions: StoragePermissions,
permissions: &dyn StoragePermissions,
) -> Result<
(),
(
Expand Down Expand Up @@ -288,7 +288,7 @@ pub trait KVPermissions<'a> {
&self,
key: SubSliceMut<'static, u8>,
value: SubSliceMut<'static, u8>,
permissions: StoragePermissions,
permissions: &dyn StoragePermissions,
) -> Result<
(),
(
Expand Down Expand Up @@ -316,7 +316,7 @@ pub trait KVPermissions<'a> {
fn delete(
&self,
key: SubSliceMut<'static, u8>,
permissions: StoragePermissions,
permissions: &dyn StoragePermissions,
) -> Result<(), (SubSliceMut<'static, u8>, ErrorCode)>;

/// Returns the length of the key-value store's header in bytes.
Expand Down

0 comments on commit af2695f

Please sign in to comment.