input_pipeline::input_deviceFunction get_device_from_dir_entry_path
Source pub fn get_device_from_dir_entry_path(
dir_proxy: &DirectoryProxy,
entry_path: &PathBuf,
) -> Result<InputDeviceProxy, Error>
Expand description
Returns a proxy to the InputDevice in entry_path
if it exists.
§Parameters
dir_proxy
: The directory containing InputDevice connections.
entry_path
: The directory entry that contains an InputDevice.
§Errors
If there is an error connecting to the InputDevice in entry_path
.