Android-cuttlefish cvd tool
Public Types | Public Member Functions | Private Attributes | List of all members
FastbootError Class Reference

#include <result.h>

Public Types

enum  Type { NETWORK_SERIAL_WRONG_PREFIX = 1 , NETWORK_SERIAL_WRONG_ADDRESS = 2 }
 

Public Member Functions

 FastbootError (Type &&type)
 
Type value () const
 
 operator Type () const
 
std::string print () const
 

Private Attributes

Type type_
 

Member Enumeration Documentation

◆ Type

Enumerator
NETWORK_SERIAL_WRONG_PREFIX 
NETWORK_SERIAL_WRONG_ADDRESS 

Constructor & Destructor Documentation

◆ FastbootError()

FastbootError::FastbootError ( Type &&  type)
inline

Member Function Documentation

◆ operator Type()

FastbootError::operator Type ( ) const
inline

◆ print()

std::string FastbootError::print ( ) const
inline

◆ value()

Type FastbootError::value ( ) const
inline

Member Data Documentation

◆ type_

Type FastbootError::type_
private

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