DevPath

Trait DevPath 

Source
pub trait DevPath {
    // Required method
    fn dev_path(&self) -> Option<PathBuf>;
}
Expand description

Trait representing open devices that may return a Path

Required Methods§

Source

fn dev_path(&self) -> Option<PathBuf>

Returns the path of the open device if possible

Implementors§

Source§

impl<A: AsFd> DevPath for A