Enum actix_http::body::EitherBody
source · [−]pub enum EitherBody<L, R = BoxBody> {
Left {
body: L,
},
Right {
body: R,
},
}Variants
Left
A body of type L.
Right
A body of type R.
Implementations
Trait Implementations
impl<L, R> MessageBody for EitherBody<L, R> where
L: MessageBody + 'static,
R: MessageBody + 'static,
impl<L, R> MessageBody for EitherBody<L, R> where
L: MessageBody + 'static,
R: MessageBody + 'static,
Auto Trait Implementations
impl<L, R> RefUnwindSafe for EitherBody<L, R> where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for EitherBody<L, R> where
L: Send,
R: Send,
impl<L, R> Sync for EitherBody<L, R> where
L: Sync,
R: Sync,
impl<L, R> UnwindSafe for EitherBody<L, R> where
L: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
