1// Take a look at the license at the top of the repository in the LICENSE file. 2 3use std::fmt; 4 5use crate::DBusMessage; 6 7impl fmt::Display for DBusMessage { 8 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 9 write!(f, "{}", self.print(0)) 10 } 11}