pub fn default_socket_path() -> Option<PathBuf>
Where smed listens for the current user: $XDG_RUNTIME_DIR/smed/api.sock, or None when XDG_RUNTIME_DIR is not set.
$XDG_RUNTIME_DIR/smed/api.sock
None
XDG_RUNTIME_DIR