Struct rthrift::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
[src]
Create a new TransportError
.
Trait Implementations
impl Debug for TransportError
[src]
impl Eq for TransportError
[src]
impl PartialEq for TransportError
[src]
fn eq(&self, __arg_0: &TransportError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TransportError) -> bool
[src]
This method tests for !=
.