Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::optional_trace Struct Reference

#include <zipkin.hpp>

Public Member Functions

constexpr operator bool () const noexcept
 
zipkin_span::token get_token () const
 

Public Attributes

std::optional< zipkin_traceopt
 

Detailed Description

Definition at line 165 of file zipkin.hpp.

Member Function Documentation

◆ get_token()

zipkin_span::token fc::optional_trace::get_token ( ) const
inlinenodiscard

Definition at line 170 of file zipkin.hpp.

170 {
171 return opt ? opt->get_token() : zipkin_span::token( 0 );
172 }
std::optional< zipkin_trace > opt
Definition zipkin.hpp:166

◆ operator bool()

fc::optional_trace::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 168 of file zipkin.hpp.

168{ return opt.has_value(); }

Member Data Documentation

◆ opt

std::optional<zipkin_trace> fc::optional_trace::opt

Definition at line 166 of file zipkin.hpp.


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