Function on

Source
pub fn on(
    py: Python<'_>,
    server: Py<ComSocketServer>,
) -> PyResult<Bound<'_, PyCFunction>>