refactor(turbo-tasks): Add common traits (TaskInput, NonLocalValue, etc) to `either::Either<L, R>` (#74198)
I ended up abandoning https://github.com/vercel/next.js/pull/74108, but the `Either` trait implementations in there seemed nice-to-have, so I'm publishing them here instead.