reth_node_core::primitives

Trait MaybeCompact

pub trait MaybeCompact: Compact { }
Available on crate feature reth-codec only.
Expand description

Helper trait that requires database encoding implementation since reth-codec feature is enabled.

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§

§

impl<T> MaybeCompact for T
where T: Compact,