Module pympsc

Module pympsc 

Source
Expand description

A mpsc channel that can is used to send messages from Rust to Python without acquiring the GIL on the sender side.

Structs§

PyReceiver
The receiver side of a channel. Objects are converted to Python heap objects when they are received.
SendError
Error type for send operations
Sender
A channel that can be used to send messages from Rust to Python without acquiring the GIL on the sender side.

Traits§

IntoPyObjectBox
A blanket trait used to convert boxed objects into python objects.

Functions§

channel
Create a new channel with a Rust sender and a Python receiver.
register_python_bindings