[−][src]Trait nix::NixPath
Required methods
Loading content...Implementations on Foreign Types
impl NixPath for str
[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,
impl NixPath for OsStr
[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,
impl NixPath for CStr
[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,
impl NixPath for [u8]
[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,
impl NixPath for Path
[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,
impl NixPath for PathBuf
[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,
impl<'a, NP: ?Sized + NixPath> NixPath for Option<&'a NP>
[src]
Treats None
as an empty string.
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,