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