pub fn create_publisher<T>(
        &self,
        topic: &str,
        qos: QoSProfile,
    ) -> Result<Publisher<T>, RclReturnCode>
    where
        T: MessageDefinition<T>,
    {
        Publisher::<T>::new(self, topic, qos)
    }
// TODO: make publisher's lifetime depend on node's lifetime
make publisher's lifetime depend on node's lifetime
make publisher ' s lifetime depend on node ' s lifetime
pub fn create_publisher<T>(
        &self,
        topic: &str,
        qos: QoSProfile,
    ) -> Result<Publisher<T>, RclReturnCode>
    where
        T: MessageDefinition<T>,
    {
        Publisher::<T>::new(self, topic, qos)
    }
pub fn create_publisher < T > ( & self , topic : & str , qos : QoSProfile , ) -> Result < Publisher < T > , RclReturnCode > where T : MessageDefinition < T > , { Publisher :: < T > :: new ( self , topic , qos ) }
TODO: make publisher's lifetime depend on node's lifetime
TODO : make publisher ' s lifetime depend on node ' s lifetime
&self
topic
&str
qos
QoSProfile
&self
topic
&str
qos
QoSProfile