pub enum NotifyState {
}
Expand description
Status changes, see sd_notify(3)
.
Variants§
Buserror(String)
D-Bus error-style error code.
Errno(u8)
errno-style error code.
Fdname(String)
A name for the submitted file descriptors.
Fdstore
Stores additional file descriptors in the service manager. Use notify_with_fds
with this.
FdstoreRemove
Remove stored file descriptors. Must be used together with NotifyState::Fdname
.
FdpollDisable
Tell the service manager to not poll the filedescriptors for errors. This causes
systemd to hold on to broken file descriptors which must be removed manually.
Must be used together with NotifyState::Fdstore
.
Mainpid(Pid)
The main process ID of the service, in case of forking applications.
Other(String)
Custom state change, as a KEY=VALUE
string.
Ready
Service startup is finished.
Reloading
Service is reloading.
Status(String)
Custom status change.
Stopping
Service is beginning to shutdown.
Watchdog
Tell the service manager to update the watchdog timestamp.
WatchdogUsec(u64)
Reset watchdog timeout value during runtime.
Trait Implementations§
Source§impl Clone for NotifyState
impl Clone for NotifyState
Source§fn clone(&self) -> NotifyState
fn clone(&self) -> NotifyState
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more