Expand description
Get information about systemd services
§Usage
use ferrix_lib::init::SystemdServices;
use zbus::Connection;
let mut conn = Connection::system().await.unwrap();
let systemd = SystemdServices::new_from_connection(&conn)
.await
.unwrap();
dbg!(systemd);Structs§
- Boot
Timestamps - Connection
- A D-Bus connection.
- Owned
Object Path - Owned
ObjectPath - Service
Info - Systemd
Services - A structure containing information about
systemdservices