pyo3::marshal

Function loads_bound

Source
pub fn loads_bound<'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.