pub trait NixPath {
// Required methods
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
fn len(&self) -> usize
fn with_nix_path<T, F>(&self, f: F) -> Result<T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.