mz_catalog::durable::traits

Trait UpgradeInto

Source
pub(crate) trait UpgradeInto<U>: Sized {
    // Required method
    fn upgrade_into(self) -> U;
}
Expand description

A copy of std::convert::Into so we can work around Rust’s orphan rules.

Required Methods§

Source

fn upgrade_into(self) -> U

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.

Implementors§

Source§

impl<T, U> UpgradeInto<U> for T
where U: UpgradeFrom<T>,