http_body_util::either

Module proj

source
Expand description

This code is the (cleaned output) generated by pin-project-lite, as it does not support tuple variants.

This is the altered expansion from the following snippet, expanded by cargo-expand:

use pin_project_lite::pin_project;

pin_project! {
    #[project = EitherProj]
    pub enum Either<L, R> {
        Left {#[pin] left: L},
        Right {#[pin] right: R}
    }
}

Enumsยง