```rust pub trait FixedCodec: Sized { fn encode_fixed(&self) -> ProtocolResult;
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>;
} ```
Use rlp to derive FixedCodec trait.
FixedCodec