|
libsshpp v0.1.7
Modern C++17 wrapper for libssh
|
#include <result.hpp>
Public Types | |
| using | value_type = void |
| using | error_type = ErrorInfo |
Public Member Functions | |
| Result () | |
| Result (ErrorInfo error) | |
| bool | has_value () const noexcept |
| operator bool () const noexcept | |
| void | value () const |
| const ErrorInfo & | error () const &noexcept |
| std::error_code | code () const noexcept |
| void | throw_if_error () const |
| template<class F > | |
| auto | and_then (F &&f) && |
| using sshpp::Result< void >::value_type = void |
| using sshpp::Result< void >::error_type = ErrorInfo |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |