Trait nix::NixPath [] [src]

pub trait NixPath {
    fn len(&self) -> usize;
fn with_nix_path<T, F>(&self, f: F) -> Result<T>
    where
        F: FnOnce(&CStr) -> T
; }

Required Methods

Implementations on Foreign Types

impl NixPath for str
[src]

[src]

[src]

impl NixPath for OsStr
[src]

[src]

[src]

impl NixPath for CStr
[src]

[src]

[src]

impl NixPath for [u8]
[src]

[src]

[src]

impl NixPath for Path
[src]

[src]

[src]

impl NixPath for PathBuf
[src]

[src]

[src]

impl<'a, NP: ?Sized + NixPath> NixPath for Option<&'a NP>
[src]

Treats None as an empty string.

[src]

[src]

Implementors