pub trait Convert {
// Required method
fn convert<From, To>(
&self,
from: From,
fragment: impl Into<Fragment>,
) -> Result<Option<To>>
where From: SafeConvert<To> + GetType,
To: GetType;
}Required Methods§
fn convert<From, To>( &self, from: From, fragment: impl Into<Fragment>, ) -> Result<Option<To>>
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.