Skip to main content

Crate libnv

Crate libnv 

Source
Expand description

Rust bindings to Name/Value pairs libraries libnv and nvpair It kinda acts like Map<&str, T> for poor people. Library split into two modules: libnv and nvpairs. libnv is FreeBSD implementation that isn’t compatible with nvpairs that is Solaris implementation.

Modules§

libnvlibnv
FreeBSD implementation of Name/value pairs library.
nvpairnvpair
Solaris implementation of Name/Value pairs library.

Enums§

NvError
Error kinds for Name/Value library.

Traits§

IntoCStr
Trait to keep public interface friendly (i.e. support rust types like &str) and at the same time allow using lower level types like CString & CStr.

Type Aliases§

NvResult
Short-cut to Result<T, NvError>.