Trait nix::NixPath [−][src]
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;
}Required methods
fn is_empty(&self) -> bool[src]
fn len(&self) -> usize[src]
fn with_nix_path<T, F>(&self, f: F) -> Result<T> where
    F: FnOnce(&CStr) -> T, [src]
F: FnOnce(&CStr) -> T,
Implementations on Foreign Types
impl NixPath for str[src]
impl NixPath for str[src]impl NixPath for OsStr[src]
impl NixPath for OsStr[src]impl NixPath for CStr[src]
impl NixPath for CStr[src]impl NixPath for [u8][src]
impl NixPath for [u8][src]impl NixPath for Path[src]
impl NixPath for Path[src]impl NixPath for PathBuf[src]
impl NixPath for PathBuf[src]impl<'a, NP: ?Sized + NixPath> NixPath for Option<&'a NP>[src]
impl<'a, NP: ?Sized + NixPath> NixPath for Option<&'a NP>[src]Treats None as an empty string.