[−][src]Function rust_lcd::iterate_devices
pub fn iterate_devices<P: AsRef<Path>>(
dir: P
) -> Result<impl Iterator<Item = Device>>
Iterate over devices in dir
.
If successful, it returns an iterator over Device
s.
The function can fail, returning std::io::Error
,
if std::fs::read_dir
cannot open the directory.