pub trait Upgrade<T> {
// Required method
fn upgrade(self) -> Converted<T>;
}Available on crate feature
convert only.Expand description
Converts an object to a newer OCPI version.
Where the newer version introduced a required field, the impl documents the default it picks and the spec text that justifies it.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".