rocketmq-protocol 1.0.0

Runtime-neutral RocketMQ wire protocol contracts
Documentation
error[E0277]: the trait bound `ExternalValue: header_codec::private::Sealed` is not satisfied
  --> tests/ui/request_header_codec_runtime/fail/external_header_value.rs:22:22
   |
22 | impl HeaderValue for ExternalValue {
   |                      ^^^^^^^^^^^^^ unsatisfied trait bound
   |
help: the trait `header_codec::private::Sealed` is not implemented for `ExternalValue`
  --> tests/ui/request_header_codec_runtime/fail/external_header_value.rs:20:1
   |
20 | struct ExternalValue;
   | ^^^^^^^^^^^^^^^^^^^^
   = help: the following other types implement trait `header_codec::private::Sealed`:
             BinarySink<'_>
             CheetahString
             JsonSink<'_>
             MapSink<'_>
             bool
             i32
             i64
             rocketmq_model::boundary_type::BoundaryType
           and $N others
note: required by a bound in `HeaderValue`
  --> src/protocol/header_codec/value.rs
   |
   | pub trait HeaderValue: Sealed + Sized {
   |                        ^^^^^^ required by this bound in `HeaderValue`
   = note: `HeaderValue` is a "sealed trait", because to implement it you also need to implement `rocketmq_protocol::protocol::header_codec::private::Sealed`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
   = help: the following types implement the trait:
             rocketmq_protocol::protocol::header_codec::MapSink<'_>
             rocketmq_protocol::protocol::header_codec::JsonSink<'_>
             rocketmq_protocol::protocol::header_codec::BinarySink<'_>
             cheetah_string::CheetahString
             std::string::String
             bool
             i32
             i64
           and $N others