usecrate::value_error::ValueResult;/// Internal trait used to convert `Value` to target types.
////// This trait powers `Value::to<T>()`. Each implementation must clearly define
/// which source variants are accepted for the target type.
#[doc(hidden)]pubtraitValueConverter<T> {/// Converts the current value to `T`.
////// # Returns
////// Returns the converted value when the conversion is supported, or a
/// `ValueError` with conversion context otherwise.
fnconvert(&self)->ValueResult<T>;}