Crate freebsd_libgeom
source ·Expand description
Safe bindings to FreeBSD’s libgeom
The primary purpose of this crate is to support the
gstat
crate, so some bindings may be
missing. Open a Github issue if you have a good use for them.
https://www.freebsd.org/cgi/man.cgi?query=libgeom
Structs§
- Describes the stats of a single geom element as part of a
Snapshot
. - Identifies an element in the Geom
Tree
- A device identifier as contained in
struct devstat
. - A geom statistics snapshot.
- Return type of
Snapshot::iter
. - Iterates through a pair of
Snapshot
s in lockstep, where one snapshot is optional. - Computes statistics between two
Snapshot
s for the same device. - Return type of
Snapshot::timestamp
. It’s the familiar Ctimespec
. - Describes the entire Geom heirarchy.