Module libp2p_networking::network::behaviours::dht::store::file_backed
source · Expand description
This file contains the FileBackedStore
struct, which is a wrapper around a RecordStore
that occasionally saves the DHT to a file on disk.
Structs§
- A
RecordStore
wrapper that occasionally saves the DHT to a file on disk. - A serializable version of a Libp2p
Record
Functions§
- Approximate an
Instant
to the number of seconds since the Unix epoch - Convert a unix-second timestamp to an
Instant