Module zksync_consensus_utils::enum_util
source · Expand description
Module defining a trait which allows for implementing code, which is generic over the variants of an enum type.
Structs§
- Error returned when
Variant::extract
fails.
Traits§
impl Variant<E> for A
defines an unique embedding ofA
inE
. For example for