[#absl-StatusToStringMode] = xref:absl.adoc[absl]::StatusToStringMode :relfileprefix: ../ :mrdocs: An enumerated type indicating how `absl::Status::ToString()` should construct the output string for a non‐ok status. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class StatusToStringMode : int; ---- == Members [cols="1,4"] |=== | Name| Description | `kWithNoExtraData` | ToString will not contain any extra data (such as payloads). It will only contain the error code and message, if any. | `kWithPayload` | ToString will contain the payloads. | `kWithSourceLocation` | ToString will contain the source locations. | `kWithEverything` | ToString will include all the extra data this Status has. | `kDefault` | Default mode used by ToString. Its exact value might change in the future. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/operator_bitand-06.adoc[`operator&`] | Computes the bitwise AND of two `StatusToStringMode` values. | xref:absl/operator_and_eq-0e.adoc[`operator&=`] | Assigns to `lhs` the bitwise AND of `lhs` and `rhs`. | xref:absl/operator_xor-0b.adoc[`operatorˆ`] | Computes the bitwise XOR of two `StatusToStringMode` values. | xref:absl/operator_xor_eq-0c.adoc[`operatorˆ=`] | Assigns to `lhs` the bitwise XOR of `lhs` and `rhs`. | xref:absl/operator_bitor-08c.adoc[`operator|`] | Computes the bitwise OR of two `StatusToStringMode` values. | xref:absl/operator_or_eq-0c.adoc[`operator|=`] | Assigns to `lhs` the bitwise OR of `lhs` and `rhs`. | xref:absl/operator_bitnot-0f.adoc[`operator~`] | Computes the bitwise complement of a `StatusToStringMode` value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#