Skip to content

Commit e69b243

Browse files
Add Send + Sync requirement
Signed-off-by: Alexandru Placinta <placintaalexandru1@gmail.com>
1 parent f3144bc commit e69b243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptoki/src/context/locking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl From<UnlockError> for CK_RV {
9999
}
100100

101101
/// Trait to manage lifecycle of mutex objects
102-
pub trait MutexLifeCycle {
102+
pub trait MutexLifeCycle: Send + Sync {
103103
/// Creates a mutex
104104
fn create() -> Result<Box<Self>, CreateError>;
105105

0 commit comments

Comments
 (0)