Skip to content

Commit 0f534ab

Browse files
authored
Merge pull request #986 from consider-it/fix/v5-return-types
fix(rumqttc): Make v5::Connection return types public
2 parents 005f73c + 467c704 commit 0f534ab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rumqttc/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
* Replace `Vec<Option<u16>>` with `FixedBitSet` for managing packet ids of released QoS 2 publishes and incoming QoS 2 publishes in `MqttState`.
2727
* Accept `native_tls::TlsConnector` as input for `Transport::tls_with_config`.
2828
* Update `thiserror` to `2.0.8`, `tokio-rustls` to `0.26.0`, `rustls-webpki` to `0.102.8`, `rustls-pemfile` to `2.2.0`, `rustls-native-certs` to `0.8.1`, `async-tungstenite` to `0.28.0`, `ws_stream_tungstenite` to `0.14.0`, `native-tls` to `0.2.12` and `tokio-stream` to `0.1.16`.
29+
* Make error types returned by `rumqttc::v5::Connection` public
2930

3031
### Deprecated
3132

rumqttc/src/v5/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ use crate::{NetworkOptions, Transport};
1919

2020
use mqttbytes::v5::*;
2121

22-
pub use client::{AsyncClient, Client, ClientError, Connection, Iter};
22+
pub use client::{
23+
AsyncClient, Client, ClientError, Connection, Iter, RecvError, RecvTimeoutError, TryRecvError,
24+
};
2325
pub use eventloop::{ConnectionError, Event, EventLoop};
2426
pub use state::{MqttState, StateError};
2527

0 commit comments

Comments
 (0)