Struct thrift::TransportError
[−]
[src]
pub struct TransportError { pub kind: TransportErrorKind, pub message: String, }
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.
Methods
impl TransportError
[src]
fn new<S: Into<String>>(kind: TransportErrorKind, message: S) -> TransportError
Create a new TransportError
.