ngx/collections/mod.rs
1//! Collection types.
2//!
3//! This module provides common collection types, mostly implemented as wrappers over the
4//! corresponding NGINX types.
5
6#[cfg(feature = "alloc")]
7pub use allocator_api2::{
8 collections::{TryReserveError, TryReserveErrorKind},
9 vec, // reexport both the module and the macro
10 vec::Vec,
11};
12
13pub use queue::Queue;
14pub use rbtree::RbTreeMap;
15
16pub mod queue;
17pub mod rbtree;