Purpose here is to clean up how a developer creates an client from IoTHubClient::<MqttTransport>::new to IoTHubClient::new
Make MqttTransport private to crate
Removed new_with_transport as it leaked the transport types but shifted functionality into UsernamePasswordTokenSource which I think provides the same functionality
Purpose here is to clean up how a developer creates an client from
IoTHubClient::<MqttTransport>::new
toIoTHubClient::new
new_with_transport
as it leaked the transport types but shifted functionality intoUsernamePasswordTokenSource
which I think provides the same functionality