reth_primitives_traits

Trait MaybeCompact

Source
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§

Source§

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