Skip to main content

ChainStorageWriter

Trait ChainStorageWriter 

Source
pub trait ChainStorageWriter<Provider, Primitives>: BlockBodyWriter<Provider, <<Primitives as NodePrimitives>::Block as Block>::Body>
where Primitives: NodePrimitives,
{ }
Expand description

Trait that implements how chain-specific types are written to the storage.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T, Provider, Primitives> ChainStorageWriter<Provider, Primitives> for T
where Primitives: NodePrimitives, T: BlockBodyWriter<Provider, <<Primitives as NodePrimitives>::Block as Block>::Body>,