38 std::string
print()
const {
return ""; }
44template <
typename T,
typename U>
50 die(r.error().message());
Type value() const
Definition: result.h:36
Type
Definition: result.h:32
@ NETWORK_SERIAL_WRONG_PREFIX
Definition: result.h:32
@ NETWORK_SERIAL_WRONG_ADDRESS
Definition: result.h:32
FastbootError(Type &&type)
Definition: result.h:34
Type type_
Definition: result.h:41
std::string print() const
Definition: result.h:38
Definition: expected.h:86
T Expect(Result< T, U > r)
Definition: result.h:45
Error< Errno > ErrnoError()
Definition: result.h:264
Definition: logging.h:464
uint8_t type
Definition: pairing_connection.h:0
void die(const char *fmt,...)
Definition: util.cpp:51