Function omnisensor::sysfs::get_single_glob_match
source · [−]Expand description
Convenience function for cases where we expect a glob to produce exactly one match.
Returns Ok() if so, and Err() on multiple matches, no matches, or other errors.