1 2 3 4 5 6 7 8 9 10
use pyo3::pyclass; #[derive(Clone, Copy, PartialEq)] #[pyclass(eq, eq_int)] pub enum Protocol { WebSocket, Bluetooth, Http, Usb, }