Trait DirectMigration

Source
pub trait DirectMigration<NK, EK, NewVersion>: SchemaExt<NK, EK> + Sized
where NK: Key, EK: Key, NewVersion: SchemaExt<NK, EK>,
{ // Required method fn migrate( g: TypedGraph<NK, EK, Self>, ) -> GenericTypedResult<TypedGraph<NK, EK, NewVersion>, NK, EK>; }

Required Methods§

Source

fn migrate( g: TypedGraph<NK, EK, Self>, ) -> GenericTypedResult<TypedGraph<NK, EK, NewVersion>, NK, EK>

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<NK, EK, T> DirectMigration<NK, EK, T> for T
where NK: Key, EK: Key, T: SchemaExt<NK, EK> + Sized,