Structs
Statistics for file contents, to base decisions around
calls to maintenance.
Garbage-collecting object store. A nice solution to back a pagecache, for people building their own databases.
Statics
Facilitates fault injection. Every time any IO operation is performed, this is decremented. If it hits 0, an io::Error is returned from that IO operation. Use this to ensure that error handling is being performed, by running some test workload, checking the counter, and then setting this to an incrementally-lower number while asserting that your application properly handles the error that will propagate up.
Functions
Always returns 0