use super::*;
pub(crate) struct InlineHookGuard {
pub(crate) key: Arc<AtomicUsize>,
}
pub(crate) struct InlineHookCall<'a> {
pub(super) stream: &'a mut Stream,
pub(super) ctx: &'a mut Context,
pub(super) init: InlineInitFn,
pub(super) state: InlinePollState,
pub(super) storage: MaybeUninit<[usize; INLINE_FUTURE_WORDS]>,
pub(super) _pinned: PhantomPinned,
}
#[derive(Clone)]
pub(crate) struct CompiledPipeline {
pub(super) static_routes: HashMapXxHash3_64<String, CompiledHook>,
pub(super) min_static_len: usize,
pub(super) max_static_len: usize,
pub(super) dynamic_routes: CompiledPatternBuckets,
pub(super) has_dynamic: bool,
pub(super) regex_routes: CompiledPatternBuckets,
pub(super) regex_tail_routes: CompiledTailRegexRoutes,
pub(super) has_regex: bool,
pub(super) request_middleware: Vec<CompiledHook>,
pub(super) response_middleware: Vec<CompiledHook>,
}