#include "tensorstore/util/result.h"
template <typename Sink>
  
requires (absl::HasAbslStringify<T>::value ||
            absl::HasOstreamOperator<T>::value)
friend void
tensorstore::Result<T>::AbslStringify(Sinksink,
                                      
const Result<T>& result);

Prints the value or the status in parentheses to the sink, which allows formatting using absl::StrFormat, etc. Do not rely on the output format which may change without notice.

Requires:

T has AbslStringify or operator<<.