pub trait GetPropertyTypeHandler: Sized {
// Required method
async fn get_property_generic(
instance: &Mpv,
property: &str,
) -> Result<Option<Self>, MpvError>;
}
Expand description
A trait for specifying how to extract and parse a value returned through Mpv::get_property
.
Required Methods§
async fn get_property_generic( instance: &Mpv, property: &str, ) -> Result<Option<Self>, MpvError>
Object Safety§
This trait is not object safe.