pub struct Error { /* fields omitted */ }
Represents HTTP/2.0 operation errors.
Error
covers error cases raised by protocol errors caused by the
peer, I/O (transport) errors, and errors caused by the user of the library.
If the error was caused by the remote peer, then it will contain a
Reason
which can be obtained with the reason
function.
If the error was caused by the remote peer, the error reason.
This is either an error received by the peer or caused by an invalid
action taken by the peer (i.e. a protocol error).
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The lower-level cause of this error, if any. Read more