|
ORE Studio 0.0.4
|
Result of a read_frame operation. More...
#include <connection.hpp>

Public Attributes | |
| std::expected< messaging::frame, ores::utility::serialization::error_code > | frame |
| std::optional< std::uint32_t > | failed_correlation_id |
| Correlation ID from the header when CRC validation fails. | |
Result of a read_frame operation.
When CRC validation fails, we still have the header information including correlation_id. This allows the caller to fail the specific pending request rather than letting it timeout.
| std::optional<std::uint32_t> failed_correlation_id |
Correlation ID from the header when CRC validation fails.
Set only when the header was successfully parsed but CRC validation failed. Use this to fail the pending request with an error response.