Skip to main content

AnyBlockStorage

Trait AnyBlockStorage 

Source
pub trait AnyBlockStorage:
    BlockStorage
    + Clone
    + 'static { }
Expand description

Utility type to document that any block storage implementation is accepted.

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> AnyBlockStorage for T
where T: BlockStorage + Clone + 'static,