pub fn display(self) -> Result<()> {
        let backends = BACKENDS.deref();

        let info = Info {
            version: env!("CARGO_PKG_VERSION"),
            backends,
        };
        if self.json {
            println!("{}", serde_json::to_string_pretty(&info)?);
        } else {
            println!("{}", info);
        }

        Ok(())
    }
/// Display nicely-formatted info about each backend
Display nicely-formatted info about each backend
Display nicely - formatted info about each backend
pub fn display(self) -> Result<()> {
        let backends = BACKENDS.deref();
        let info = Info {
            version: env!("CARGO_PKG_VERSION"),
            backends,
        };
        if self.json {
            println!("{}", serde_json::to_string_pretty(&info)?);
        } else {
            println!("{}", info);
        }
        Ok(())
    }
pub fn display ( self ) -> Result < ( ) > { let backends = BACKENDS . deref ( ) ; let info = Info { version : env ! ( " " ) , backends , } ; if self . json { println ! ( " " serde_json to_string_pretty ( info ) ) ; } else { println ! ( " " info ) ; } Ok ( ( ) ) }
Display nicely-formatted info about each backend
Display nicely - formatted info about each backend
self
self