-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ordering of events returned on
poll()
(#862)
* fix: ordering of events as mentioned in #860 * fix: clippy suggestion https://github.com/bytebeamio/rumqtt/actions/runs/9013022148/job/24763146160?pr=862#step:7:216 * chore: clippy suggestions https://github.com/bytebeamio/rumqtt/actions/runs/9028175682/job/24808221311?pr=862 * chore: update CHANGELOG
- Loading branch information
Devdutt Shenoi
authored
May 10, 2024
1 parent
c5bfdd7
commit 7f594f8
Showing
9 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
use crate::Offset; | ||
use std::usize; | ||
use std::{collections::VecDeque, io}; | ||
|
||
mod segment; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
use tokio::io::{AsyncRead, AsyncWrite}; | ||
// use tokio::io::{AsyncRead, AsyncWrite}; | ||
|
||
mod broker; | ||
#[cfg(any(feature = "use-rustls", feature = "use-native-tls"))] | ||
mod tls; | ||
|
||
pub use broker::Broker; | ||
|
||
pub trait IO: AsyncRead + AsyncWrite + Send + Sync + Unpin {} | ||
impl<T: AsyncRead + AsyncWrite + Send + Sync + Unpin> IO for T {} | ||
// pub trait IO: AsyncRead + AsyncWrite + Send + Sync + Unpin {} | ||
// impl<T: AsyncRead + AsyncWrite + Send + Sync + Unpin> IO for T {} |