Skip to main content

Downgrade

Trait Downgrade 

Source
pub trait Downgrade<T> {
    // Required method
    fn downgrade(self) -> Converted<T>;
}
Available on crate feature convert only.
Expand description

Converts an object to an older OCPI version.

This is where information goes missing; every impl reports what it dropped.

Required Methods§

Source

fn downgrade(self) -> Converted<T>

Converts to the older version.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§