MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / CallbackConverter

Interface CallbackConverter

src/function.rs:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168pub trait CallbackConverter<S> {
169 type R;
170
171 fn convert(val: S, py: Python) -> Self::R;
172 fn error_value() -> Self::R;
173}
174
175pub struct PyObjectCallbackConverter;
176

Callers

nothing calls this directly

Implementers 2

function.rssrc/function.rs
slots.rssrc/py_class/slots.rs

Calls

no outgoing calls

Tested by

no test coverage detected