Crate libnv [] [src]

Rust bindings to Name/Value pairs library (libnv). It kinda acts like Map<&str, T> where T is any type Name/Value list can hold. I honestly don't know if this is used anywhere outside of zfs. I only making this in order to work with ZFS, so if you need something that isn't here - PRs welcome. It's missing a few features: - Sending to socket - Receving from socket - Insert/Remove file descriptors - Insert/Remove binary - Take operations

Structs

NvList

A list of name/value pairs.

Enums

NvError

Error kinds for Name/Value library.

NvFlag

Options available for creation of an nvlist

NvType

Enumeration of available data types that the API supports.

Traits

NvTypeOp

Marker-ish trait to allow usage of insert method. Implement this for your own types if you don't want to convert to primitive types everytime.

Type Definitions

NvResult

Short-cut to Result.