filament-utilities · daemon
Source declarations, signatures and documentation for daemon.
Read the current implementation boundaries before integration. This reference reproduces declarations; it omits source comments whose examples or readiness claims have not been verified.
Source: sigil/weave/filament/filament-utilities/src/daemon.rs. SHA-256: 1f5159efb237004348d47463548beabfa5f59579606da929a3b37fc0316cc033.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
daemon::read_pid_file
pub fn read_pid_file(path: &Path) -> Result<u32>;Source line: 8.
daemon::write_pid_file
pub fn write_pid_file(path: &Path, pid: u32) -> Result<()>;Source line: 18.
daemon::remove_pid_file
pub fn remove_pid_file(path: &Path) -> Result<()>;Source line: 28.
daemon::is_daemon_running
pub fn is_daemon_running(pid_path: &Path) -> bool;Source line: 36.
daemon::check_process_running
#[cfg(unix)]
pub fn check_process_running(pid: u32) -> bool;Source line: 46.
daemon::check_process_running
#[cfg(not(unix))]
pub fn check_process_running(_pid: u32) -> bool;Source line: 57.
daemon::signals
pub mod signals;Source line: 62.
daemon::signals::create_signal_stream
pub fn create_signal_stream() -> io::Result<Signals>;Source line: 69.
daemon::signals::handle_signals
pub async fn handle_signals<S>(mut signals: S) -> crate::Result<()>
where
S: Stream<Item = i32> + Unpin,;Source line: 74.