reth_primitives_traits

Trait MaybeArbitrary

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

Source§

impl<T> MaybeArbitrary for T
where T: for<'a> Arbitrary<'a>,