pub trait UserDefinedType<'r>:
SerializeValue
+ DeserializeValue<'r, 'r>
+ Clone
+ Send
+ Sync {
// Required method
fn type_name() -> UStr;
// Provided method
fn box_cloned(&self) -> Box<dyn SerializeValue + Sync + Send>
where Self: 'static { ... }
}Required Methods§
Provided Methods§
fn box_cloned(&self) -> Box<dyn SerializeValue + Sync + Send>where
Self: 'static,
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.