Skip to main content

pyobject_to_latency_model_any

Function pyobject_to_latency_model_any 

Source
pub fn pyobject_to_latency_model_any(
    obj: &Bound<'_, PyAny>,
) -> PyResult<LatencyModelAny>
Expand description

Extracts a Python latency model object into a Rust LatencyModelAny.

ยงErrors

Returns an error if obj is not a supported latency model binding.