Skip to main content

Storage

Trait Storage 

Source
pub trait Storage: Clone {
    type Vec<T: Clone + PartialEq + 'static>: DataVec<T> + PartialEq;
    type BitVec: DataBitVec + PartialEq;
}
Expand description

Trait abstracting over storage backends.

Required Associated Types§

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 Storage for Cow

Source§

type Vec<T: Clone + PartialEq + 'static> = CowVec<T>

Source§

type BitVec = BitVec