pub fn encode_with_options( message: &Message, qos: Option<QoS>, timestamp: Option<u64>, ) -> Result<Bytes>
Encode a message with options