Expand description
Get filename from a raw file descriptor
§Example
use filename::file_name;
let f = tempfile::tempfile().unwrap();
println!("tempfile @ {:?}", file_name(&f).unwrap());
Traits§
- OS-specific extensions to extract file name.
Functions§
- Returns the file name of an underlying object, if there is one.