Crate libzfs_sys
source ·Expand description
libzfs_sys — Rust bindings to libzfs2.
Overview
Bindings created using rust bindgen and written
to the src dir. To rebuild bindings run cargo build
.
ZFS version
These bindings were compiled against ZFS 0.7.11. As libzfs
is not a stable interface,
they should only be used against this version.
OS
These bindings were compiled on Centos 7.5.x. They are likely to work against other OS, but make sure to test first.
Re-exports
pub use self::boolean::Type as boolean_t;
pub use self::dmu_objset_type as dmu_objset_type_t;
pub use self::vdev_state as vdev_state_t;
pub use self::vdev_aux as vdev_aux_t;
pub use self::pool_state::Type as pool_state_t;
Modules
Structs
Constants
Functions
Converts a
u32
to Option<vdev_aux_t>
Converts a
Vec<u64>
to vdev_stat_t
Converts a
u32
to Option<vdev_state_t>
Converts an
i32
to Option<zfs_prop_t>