Trait NixPath
trait NixPath
Common trait used to represent file system paths by many Nix functions.
Required Methods
fn is_empty(self: &Self) -> boolIs the path empty?
fn len(self: &Self) -> usizeLength of the path in bytes
fn with_nix_path<T, F>(self: &Self, f: F) -> Result<T> where F: FnOnce(&CStr) -> TExecute a function with this path as a
CStr.Mostly used internally by Nix.