fidl::Status
Summary
Inheritance
Direct Known Subclasses:
fidl::BaseWireResult< FidlMethod, std::enable_if_t< FidlMethod::kHasServerToClient &&!FidlMethod::kHasServerToClientBody, void > >,
fidl::BaseWireResult< FidlMethod, std::enable_if_t< FidlMethod::kHasServerToClient &&FidlMethod::kHasServerToClientBody &&!MethodHasUnwrapAccessors< FidlMethod >(), void > >,
fidl::BaseWireResult< FidlMethod, std::enable_if_t< FidlMethod::kHasServerToClient &&MethodHasUnwrapAccessors< FidlMethod >(), void > >,
fidl::IncomingHeaderAndMessage,
fidl::OneWayStatus,
fidl::OutgoingMessage,
fidl::UnbindInfoPublic functions
std::string FormatDescription() const
Status
constexpr Status()=default
Status
constexpr Status(
const Status & result
)=default
error
constexpr const Status & error() const
is_canceled
constexpr bool is_canceled() const
is_dispatcher_shutdown
constexpr bool is_dispatcher_shutdown() const
is_peer_closed
constexpr bool is_peer_closed() const
lossy_description
const char * lossy_description() const
ok
constexpr bool ok() const
operator=
constexpr Status & operator=(
const Status & result
)=default
reason
constexpr::fidl::Reason reason() const
status
constexpr zx_status_t status() const
status_string
const char * status_string() const
underlying_reason
constexpr std::optional<::fidl::Reason > underlying_reason() const
~Status
~Status()=default
Public static functions
DecodeError
constexpr Status DecodeError(
zx_status_t status,
const char *error_message
)
EncodeError
constexpr Status EncodeError(
zx_status_t status,
const char *error_message
)
PeerClosedWhileReading
constexpr Status PeerClosedWhileReading(
zx_status_t status
)
PendingTwoWayCallPreventsUnbind
constexpr Status PendingTwoWayCallPreventsUnbind()
TransportError
constexpr Status TransportError(
zx_status_t status,
const char *error_message
)
Unbound
constexpr Status Unbound()
UnexpectedMessage
constexpr Status UnexpectedMessage(
zx_status_t status,
const char *error_message
)
UnknownMethod
constexpr Status UnknownMethod()
UnknownOrdinal
constexpr Status UnknownOrdinal()
Protected functions
size_t FormatImpl(
char *destination,
size_t length,
bool from_unbind_info
) const
SetStatus
constexpr void SetStatus(
const Status & other
)
error_address
constexpr const char ** error_address()
reason_description
const char * reason_description() const
underlying_reason_description
const char * underlying_reason_description() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]