template <>
class result
Defined at line 135 of file ../../zircon/system/ulib/zx/include/lib/zx/result.h
Specialization of status for empty value type.
Public Methods
const char * status_string ()
Returns the string representation of the status value.
Defined at line 8 of file ../../zircon/system/ulib/zx/status_string.cc
void result (base other)
Explicit conversion from fit::result
<zx
_status_t>.
Defined at line 143 of file ../../zircon/system/ulib/zx/include/lib/zx/result.h
void result (error<zx_status_t> error)
Implicit conversion from error
<zx
_status_t>.
Defined at line 152 of file ../../zircon/system/ulib/zx/include/lib/zx/result.h
zx_status_t status_value ()
Returns the underlying error or ZX_OK if not in the error state. This
accessor simplifies interfacing with code that uses zx_status_t directly.
Defined at line 163 of file ../../zircon/system/ulib/zx/include/lib/zx/result.h