We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82e2ba1 + dbfd0d4 commit aa48718Copy full SHA for aa48718
vm/src/pyobject.rs
@@ -1259,6 +1259,9 @@ pub enum PyObjectPayload {
1259
Socket {
1260
socket: RefCell<Socket>,
1261
},
1262
+ AnyRustValue {
1263
+ value: Box<dyn std::any::Any>,
1264
+ },
1265
}
1266
1267
impl fmt::Debug for PyObjectPayload {
@@ -1297,6 +1300,7 @@ impl fmt::Debug for PyObjectPayload {
1297
1300
PyObjectPayload::RustFunction { .. } => write!(f, "rust function"),
1298
1301
PyObjectPayload::Frame { .. } => write!(f, "frame"),
1299
1302
PyObjectPayload::Socket { .. } => write!(f, "socket"),
1303
+ PyObjectPayload::AnyRustValue { .. } => write!(f, "some rust value"),
1304
1305
1306
0 commit comments