1
2
3
4
5
6
7
8
9
use async_proto_derive::impl_protocol_for;

impl_protocol_for! {
    #[async_proto(attr(cfg_attr(docsrs, doc(cfg(feature = "either")))))]
    enum either::Either<T, U> {
        Left(T),
        Right(U),
    }
}