VersionizeVec

Trait VersionizeVec 

Source
pub trait VersionizeVec: Sized {
    type VersionedVec: Serialize + DeserializeOwned;

    // Required method
    fn versionize_vec(vec: Vec<Self>) -> Self::VersionedVec;
}

Required Associated Types§

Required Methods§

Source

fn versionize_vec(vec: Vec<Self>) -> Self::VersionedVec

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.

Implementations on Foreign Types§

Source§

impl<T: VersionizeOwned, U: VersionizeOwned> VersionizeVec for (T, U)

Source§

impl<T: VersionizeOwned, U: VersionizeOwned, V: VersionizeOwned> VersionizeVec for (T, U, V)

Source§

impl<T: VersionizeVec + Clone> VersionizeVec for &[T]

Source§

impl<T: VersionizeVec + Clone> VersionizeVec for Box<[T]>

Source§

impl<T: VersionizeVec> VersionizeVec for Vec<T>

Source§

impl<const N: usize, T: VersionizeVec + Clone> VersionizeVec for [T; N]

Implementors§