pub trait VarkeywordsHandler<'py> {
type Varkeywords: Default;
// Required method
fn handle_varkeyword(
varkeywords: &mut Self::Varkeywords,
name: Borrowed<'py, 'py, PyAny>,
value: Borrowed<'py, 'py, PyAny>,
function_description: &FunctionDescription,
) -> PyResult<()>;
}
Expand description
A trait used to control whether to accept varkeywords in FunctionDescription::extract_argument_(method) functions.
Required Associated Types§
type Varkeywords: Default
Required Methods§
fn handle_varkeyword( varkeywords: &mut Self::Varkeywords, name: Borrowed<'py, 'py, PyAny>, value: Borrowed<'py, 'py, PyAny>, function_description: &FunctionDescription, ) -> PyResult<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.