Lines Matching refs:Python
47 IntoPy, PyErr, PyObject, PyResult, Python, ToPyObject,
61 Python::with_gil(|py| { in new()
71 Python::with_gil(|py| { in load_from_file()
80 fn to_object(&self, _py: Python<'_>) -> PyObject { in to_object()
112 Python::with_gil(|py| { in new()
136 Python::with_gil(|py| { in from_config_file_with_hci()
152 Python::with_gil(|py| { in with_hci()
169 Python::with_gil(|py| { in send_command()
180 Python::with_gil(|py| { in send_command()
192 Python::with_gil(|py| { in power_on()
203 Python::with_gil(|py| { in connect()
215 callback: impl Fn(Python, Connection) -> PyResult<()> + Send + 'static, in on_connection() argument
221 Python::with_gil(|py| { in on_connection()
230 Python::with_gil(|py| { in start_scanning()
244 callback: impl Fn(Python, Advertisement) -> PyResult<()> + Send + 'static, in on_advertisement() argument
250 Python::with_gil(|py| { in on_advertisement()
259 Python::with_gil(|py| { in set_advertising_data()
271 Python::with_gil(|py| { in host()
290 Python::with_gil(|py| { in start_advertising()
357 ConversionError::Python(pyerr) => pyerr, in start_advertising_extended()
393 Python::with_gil(|py| { in stop_advertising()
436 server: impl Fn(Python, LeConnectionOrientedChannel) -> PyResult<()> + Send + 'static, in register_l2cap_channel_server() argument
441 Python::with_gil(|py| { in register_l2cap_channel_server()
467 Python::with_gil(|py| { in random_address()
488 Python::with_gil(|py| { in open_l2cap_channel()
505 Python::with_gil(|py| { in disconnect()
519 callback: impl Fn(Python, ErrorCode) -> PyResult<()> + Send + 'static, in on_disconnection() argument
525 Python::with_gil(|py| { in on_disconnection()
534 Python::with_gil(|py| { in debug_string()
547 Python::with_gil(|py| { in new()
559 Python::with_gil(|py| { in discover_services()
566 Python::with_gil(|py| { in discover_services()
577 Python::with_gil(|py| { in services()
591 Python::with_gil(|py| { in create_service_proxy()
607 Python::with_gil(|py| self.0.getattr(py, intern!(py, "address")).map(Address)) in address()
612 Python::with_gil(|py| { in is_connectable()
621 Python::with_gil(|py| self.0.getattr(py, intern!(py, "rssi"))?.extract::<i8>(py)) in rssi()
626 Python::with_gil(|py| self.0.getattr(py, intern!(py, "data")).map(AdvertisingData)) in data()