systemdzbus 0.1.5

Interact with systemd through DBus with a convenient rust interface. All of the initial types were automatically generated by the CLI tool 'zbus-xmlgen'. From here I just copied the documentation from the systemd man page to get good descriptions for each function.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Debug, Error)]
pub enum SystemdError {
    #[error("Error occurred inside of the Zbus library.")]
    DbusError(#[from] zbus::Error),

    #[error("Connection not initialised")]
    InitialisationError,

    #[error("Invalid use of isolate mode in start unit")]
    IsolateModeUnavailable,
}