rocketmq_remoting/protocol/header/empty_header.rs
1use std::collections::HashMap;
2
3use cheetah_string::CheetahString;
4
5use crate::protocol::command_custom_header::CommandCustomHeader;
6
7pub struct EmptyHeader {}
8
9impl CommandCustomHeader for EmptyHeader {
10 fn to_map(&self) -> Option<HashMap<CheetahString, CheetahString>> {
11 None
12 }
13}