Kagome
Polkadot Runtime Engine in C++17
kagome::offchain::Result< S, F > Struct Template Referencefinal

#include <types.hpp>

Inheritance diagram for kagome::offchain::Result< S, F >:
Collaboration diagram for kagome::offchain::Result< S, F >:

Public Member Functions

bool isSuccess () const
 
bool isFailure () const
 
S & value ()
 
F & error ()
 

Detailed Description

template<typename S, typename F>
struct kagome::offchain::Result< S, F >

Definition at line 58 of file types.hpp.

Member Function Documentation

template<typename S, typename F>
F& kagome::offchain::Result< S, F >::error ( )
inline

Definition at line 69 of file types.hpp.

template<typename S, typename F>
bool kagome::offchain::Result< S, F >::isFailure ( ) const
inline

Definition at line 63 of file types.hpp.

template<typename S, typename F>
bool kagome::offchain::Result< S, F >::isSuccess ( ) const
inline

Definition at line 60 of file types.hpp.

template<typename S, typename F>
S& kagome::offchain::Result< S, F >::value ( )
inline

Definition at line 66 of file types.hpp.


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