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§

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.
SnapshotIter
Return type of Snapshot::iter.
SnapshotPairIter
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 C timespec.
Tree
Describes the entire Geom heirarchy.

Enums§

GidentError