rustls_error

After a rustls function returns an error, you may call this to get a pointer to a buffer containing a detailed error message. The contents of the error buffer will be out_n bytes long, UTF-8 encoded, and not NUL-terminated.

extern (C)
void
rustls_error
(
uint result
,
char* buf
,
size_t len
,
size_t* out_n
)

Meta