Skip to content

Commit 087c628

Browse files
fsverity: mark FsVerityHashValue: Send + Sync + 'static
Our implementations trivially satisfy all of these constraints. Signed-off-by: Allison Karlitskaya <[email protected]>
1 parent 2ef6757 commit 087c628

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fsverity/hashvalue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout, Unaligned};
77
pub trait FsVerityHashValue
88
where
99
Self: Clone,
10+
Self: Send + Sync + 'static,
1011
Self: From<Output<Self::Digest>>,
1112
Self: FromBytes + Immutable + IntoBytes + KnownLayout + Unaligned,
1213
Self: Hash + Eq,

0 commit comments

Comments
 (0)