Expand description
The core module.
This module provides fundamental utilities needed to interface with many NGINX primitives. String conversions, the pool (memory interface) object, and buffer APIs are covered here. These utilities will generally align with the NGINX ‘core’ files and APIs.
Re-exports§
pub use slab::SlabPool;
Modules§
- slab
- Wrapper for the nginx slab pool allocator.
Macros§
- ngx_
string - Static string initializer for
ngx_str_t.
Structs§
- Memory
Buffer - Wrapper struct for a memory buffer, providing methods for working with an
ngx_buf_t. - NgxStr
- Representation of a borrowed Nginx string.
- NgxString
- Owned byte string type with Allocator support.
- Pool
- Non-owning wrapper for an
ngx_pool_tpointer, providing methods for working with memory pools. - Status
- Status
- Temporary
Buffer - Wrapper struct for a temporary buffer, providing methods for working with an
ngx_buf_t.
Constants§
- NGX_
CONF_ ERROR - An error occurred while parsing and validating configuration.
- NGX_
CONF_ OK - Configuration handler succeeded.
Traits§
- Buffer
- The
Buffertrait provides methods for working with an nginx buffer (ngx_buf_t). - Mutable
Buffer - The
MutableBuffertrait extends theBuffertrait and provides methods for working with a mutable buffer.