template <typename E = Errno, bool include_message = true>
struct ResultError
Defined at line 132 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
Public Methods
template <typename T, typename P, typename = std::enable_if_t<std::is_convertible_v<P, E>>>
void ResultError<E, include_message> (T && message, P && code)
Defined at line 134 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
void ResultError<E, include_message> (const ResultError<E, include_message> & other)
Defined at line 137 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
void ResultError<E, include_message> (ResultError<E, include_message> && other)
Defined at line 138 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
ResultError<E, include_message> & operator= (const ResultError<E, include_message> & other)
Defined at line 139 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
ResultError<E, include_message> & operator= (ResultError<E, include_message> && other)
Defined at line 140 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
template <typename T>
android::base::expected<T, ResultError<E>> operator android::base::expected<type-parameter-1-0, android::base::ResultError<type-parameter-0-0, true> > ()
NOLINTNEXTLINE(google-explicit-constructor)
Defined at line 144 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
template <typename T>
android::base::expected<T, ResultError<E>> operator android::base::expected<type-parameter-1-0, android::base::ResultError<type-parameter-0-0, true> > ()
NOLINTNEXTLINE(google-explicit-constructor)
Defined at line 150 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
const std::string & message ()
Defined at line 154 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
const E & code ()
Defined at line 155 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h