Skip to main content

DbusCall

Type Alias DbusCall 

Source
type DbusCall<'a> = &'a dyn Fn(&str, &str, &str, &[&str]) -> Option<String>;
Expand description

A session-bus call: (dest, object_path, method, args) -> stdout, or None on failure. The production impl shells out to gdbus; tests pass a fake.