Function thrift::new_transport_error
source · [−]pub fn new_transport_error<S: Into<String>>(
kind: TransportErrorKind,
message: S
) -> Error
Expand description
Create a new Error
instance of type Transport
that wraps a
TransportError
.