Struct thrift::TransportError [−][src]
pub struct TransportError {
pub kind: TransportErrorKind,
pub message: String,
}
Expand description
Information about I/O errors.
Fields
kind: TransportErrorKind
I/O error variant.
If a specific TransportErrorKind
does not apply use
TransportErrorKind::Unknown
.
message: String
Human-readable error message.
Implementations
Create a new TransportError
.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.