-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: clippy suggestions https://github.com/bytebeamio/rumqtt/action…
- Loading branch information
Devdutt Shenoi
committed
May 10, 2024
1 parent
dd28353
commit 47a55b6
Showing
8 changed files
with
17 additions
and
18 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
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 {} |