template <typename T>
struct DisplayError
Defined at line 18 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/display_error.h
|DisplayError| should be explicitly specialized for error-like types which
could be printed: transport errors, application errors, etc.
Public Methods
size_t Format (const T & value, char * destination, size_t capacity)
Formats the description into a buffer |destination| that is of size
|capacity|. The description will cut off at `capacity - 1`. It inserts a
trailing NUL.
Returns how many bytes were written, not counting the NUL.
Explicit specializations should define a method with this signature.
This particular method does not have an implementation, such that missed
specializations would be detected by a link-time error.