Returns the device's physical location, either as set by the caller or as read from the kernel.
(&self)
| 87 | |
| 88 | /// Returns the device's physical location, either as set by the caller or as read from the kernel. |
| 89 | pub fn physical_path(&self) -> Option<&str> { |
| 90 | self.raw.physical_path() |
| 91 | } |
| 92 | |
| 93 | /// Returns the user-defined "unique name" of the device, if one has been set. |
| 94 | pub fn unique_name(&self) -> Option<&str> { |