Skip to content

Commit bcd5186

Browse files
committed
Add ThreadSafe trait
1 parent c7467e4 commit bcd5186

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vm/src/pyobject.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,9 @@ pub trait PyValue: fmt::Debug + Sized + 'static {
12041204
}
12051205
}
12061206

1207+
// Temporary trait to follow the progress of threading conversion
1208+
pub trait ThreadSafe: Send + Sync {}
1209+
12071210
pub trait PyObjectPayload: Any + fmt::Debug + 'static {
12081211
fn as_any(&self) -> &dyn Any;
12091212
}

0 commit comments

Comments
 (0)