[−][src]Function thrift::new_transport_error
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
.
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
.