modm API documentation
modm::amnb::Result< ReturnType, ErrorType > Struct Template Reference

Public Member Functions

bool hasError () const
 
bool hasUserError () const
 
Error error () const
 
const ErrorType * userError () const
 
const ReturnType * result () const
 
 operator bool () const
 
const ReturnType & operator* () const
 

Protected Member Functions

 Result (Message &msg)
 

Protected Attributes

union {
   const ReturnType *   retval {nullptr}
 
   const ErrorType *   errval
 
}; 
 
Error syserr {Error::Ok}
 

Friends

template<size_t , size_t >
class Node
 

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