Kagome
Polkadot Runtime Engine in C++17
fmt::formatter< libp2p::peer::PeerId > Struct Template Reference

#include <peer_id_formatter.hpp>

Collaboration diagram for fmt::formatter< libp2p::peer::PeerId >:

Public Member Functions

constexpr auto parse (format_parse_context &ctx) -> decltype(ctx.begin())
 
template<typename FormatContext >
auto format (const libp2p::peer::PeerId &peer_id, FormatContext &ctx) -> decltype(ctx.out())
 

Public Attributes

char presentation = 's'
 

Detailed Description

template<>
struct fmt::formatter< libp2p::peer::PeerId >

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Definition at line 17 of file peer_id_formatter.hpp.

Member Function Documentation

template<typename FormatContext >
auto fmt::formatter< libp2p::peer::PeerId >::format ( const libp2p::peer::PeerId &  peer_id,
FormatContext &  ctx 
) -> decltype(ctx.out())
inline

Definition at line 41 of file peer_id_formatter.hpp.

constexpr auto fmt::formatter< libp2p::peer::PeerId >::parse ( format_parse_context &  ctx) -> decltype(ctx.begin())
inline

Definition at line 22 of file peer_id_formatter.hpp.

Member Data Documentation

char fmt::formatter< libp2p::peer::PeerId >::presentation = 's'

Definition at line 19 of file peer_id_formatter.hpp.


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