1use async_proto_derive::impl_protocol_for; 2 3impl_protocol_for! { 4 #[async_proto(attr(cfg_attr(docsrs, doc(cfg(feature = "either")))))] 5 enum either::Either<T, U> { 6 Left(T), 7 Right(U), 8 } 9}