LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::orc::rpc::SerializationTraits< ChannelT, Expected< T1 >, Expected< T2 > > Class Template Reference

SerializationTraits for Expected<T1> from an Expected<T2>. More...

#include "llvm/ExecutionEngine/Orc/RPCSerialization.h"

Static Public Member Functions

static Error serialize (ChannelT &C, Expected< T2 > &&ValOrErr)
 
static Error deserialize (ChannelT &C, Expected< T2 > &ValOrErr)
 

Detailed Description

template<typename ChannelT, typename T1, typename T2>
class llvm::orc::rpc::SerializationTraits< ChannelT, Expected< T1 >, Expected< T2 > >

SerializationTraits for Expected<T1> from an Expected<T2>.

Definition at line 480 of file RPCSerialization.h.

Member Function Documentation

◆ deserialize()

template<typename ChannelT , typename T1 , typename T2 >
static Error llvm::orc::rpc::SerializationTraits< ChannelT, Expected< T1 >, Expected< T2 > >::deserialize ( ChannelT &  C,
Expected< T2 > &  ValOrErr 
)
inlinestatic

Definition at line 494 of file RPCSerialization.h.

References llvm::orc::rpc::deserializeSeq(), and llvm::Error::success().

◆ serialize()

template<typename ChannelT , typename T1 , typename T2 >
static Error llvm::orc::rpc::SerializationTraits< ChannelT, Expected< T1 >, Expected< T2 > >::serialize ( ChannelT &  C,
Expected< T2 > &&  ValOrErr 
)
inlinestatic

Definition at line 483 of file RPCSerialization.h.

References llvm::orc::rpc::serializeSeq().


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