Expand description
Zero-allocation message processing for WebSocket exchanges
This module provides concrete implementations showing how to process WebSocket messages from exchanges with zero allocations using borrowed values.
Structs§
- Buffer
Stats - Buffer usage statistics for monitoring performance
- Order
Update Owned - Owned version of order update (only allocate when necessary)
- Zero
Alloc Market Data - Zero-allocation market data processing
- Zero
Alloc Message Processor - Zero-allocation WebSocket message processor with buffer reuse
- Zero
Alloc Order Update - Zero-allocation order update processing
Enums§
- Message
Type - Message type classification
Functions§
- example_
zero_ alloc_ handler - Example usage in WebSocket handler
- extract_
string_ field_ zero_ alloc - Convenience function for zero-allocation JSON field extraction
- identify_
message_ type_ zero_ alloc - Convenience function for zero-allocation message type identification
- parse_
order_ zero_ alloc - Convenience function for zero-allocation order parsing
- parse_
trade_ zero_ alloc - Convenience function for zero-allocation trade parsing
- with_
zero_ alloc_ processor - Access thread-local zero-allocation message processor
Type Aliases§
- Message
Buffer - Stack-allocated buffer for small messages