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§
- Devstat
- Describes the stats of a single geom element as part of a
Snapshot. - Gident
- Identifies an element in the Geom
Tree - Id
- A device identifier as contained in
struct devstat. - Snapshot
- A geom statistics snapshot.
- Snapshot
Iter - Return type of
Snapshot::iter. - Snapshot
Pair Iter - Iterates through a pair of
Snapshots in lockstep, where one snapshot is optional. - Statistics
- Computes statistics between two
Snapshots for the same device. - Timespec
- Return type of
Snapshot::timestamp. It’s the familiar Ctimespec. - Tree
- Describes the entire Geom heirarchy.