1 2 3 4 5 6 7 8 9 10
use std::marker::PhantomData; use crate::request::{Id, body}; #[derive(Clone, Copy)] pub(super) enum Origin<'req, 'd, B = body::Retained<'req, 'd>> { Empty(PhantomData<&'req &'d ()>), Retained(B), Task(Id<'d>), }