Trait nix::NixPath
pub trait NixPath {
fn is_empty(&Self) -> bool;
fn len(&Self) -> usize;
fn with_nix_path<T, F>(&Self, f: F) -> Result<T>
where
F: FnOnce(&CStr) -> T;
}
Documentation
Common trait used to represent file system paths by many Nix functions.