pyo3::marshal

Function loads

Source
pub fn loads<'py, B>(py: Python<'py>, data: &B) -> PyResult<Bound<'py, PyAny>>
where B: AsRef<[u8]> + ?Sized,
Expand description

Deserialize an object from bytes using the Python built-in marshal module.