reth::core::primitives

Trait MaybeArbitrary

pub trait MaybeArbitrary: for<'a> Arbitrary<'a> { }
Available on crate features test-utils or arbitrary only.
Expand description

Helper trait that requires arbitrary implementation if the 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> MaybeArbitrary for T
where T: for<'a> Arbitrary<'a>,