|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
Result returned by FrameCodec::decode_response().
More...
#include <codec.hpp>
Public Attributes | |
| DecodeStatus | status = DecodeStatus::Incomplete |
| Stream-level decode status. | |
| RawResponseFrame | frame {} |
Raw response frame when status == DecodeStatus::Complete. | |
| Status | error {} |
Decoder-side error when status == DecodeStatus::Error. | |
| std::size_t | bytes_consumed = 0 |
| Number of bytes consumed from the input span. | |
Result returned by FrameCodec::decode_response().
| std::size_t mcprotocol::serial::DecodeResult::bytes_consumed = 0 |
| Status mcprotocol::serial::DecodeResult::error {} |
Decoder-side error when status == DecodeStatus::Error.
| RawResponseFrame mcprotocol::serial::DecodeResult::frame {} |
Raw response frame when status == DecodeStatus::Complete.
| DecodeStatus mcprotocol::serial::DecodeResult::status = DecodeStatus::Incomplete |