Crate trillium_conn_id
source ·Expand description
Trillium crate to add identifiers to conns.
This crate provides the following utilities:
ConnId
a handler which must be called for the rest of this crate to functionlog_formatter::conn_id
a formatter to use with trillium_logger (note that this does not depend on the trillium_logger crate and is very lightweight if you do not use that crate)ConnIdExt
an extension trait for retrieving the id from a conn
Modules§
- Formatter for the trillium_log crate
Structs§
- Trillium handler to set a identifier for every Conn.
Traits§
- Extension trait to retrieve an id generated by the
ConnId
handler
Functions§
- Alias for ConnId::new()