ipfs-chromium
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
ipfs::ipld::BlockSource Struct Reference

#include <library/include/ipfs_client/ipld/block_source.h>

Collaboration diagram for ipfs::ipld::BlockSource:
Collaboration graph
[legend]

Classes

struct  Category
 

Public Types

using Clock = std::chrono::system_clock
 

Public Member Functions

void Deserialize (std::string_view)
 
std::string Serialize () const
 

Public Attributes

std::string cid
 
Clock::time_point fetched_at = Clock::now()
 
Clock::duration load_duration = std::chrono::seconds(0)
 
Category cat
 

Detailed Description

Description of where a particular block was fetched from, for diagnostics

Member Typedef Documentation

◆ Clock

using ipfs::ipld::BlockSource::Clock = std::chrono::system_clock

Source of now(). Defines timestamp type.


The documentation for this struct was generated from the following file: