1 2 3 4 5 6 7 8
use abomonation_derive::Abomonation; use std::fmt::Debug; #[derive(Debug, PartialEq, Eq, Copy, Clone, Abomonation)] pub enum Either<D1, D2> { Left(D1), Right(D2), }