Skip to main content

name_from_path

Function name_from_path 

Source
pub fn name_from_path(path: &Path) -> Result<String>
Expand description

Get the name of the block device on which Path is mounted.