Function thrift::new_transport_error [] [src]

pub fn new_transport_error<S: Into<String>>(kind: TransportErrorKind,
                                            message: S)
                                            -> Error

Create a new Error instance of type Transport that wraps a TransportError.