-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare to rewrite quic/tcp to be owned senders and receivers
- Loading branch information
Showing
7 changed files
with
46 additions
and
33 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// use std::{ | ||
// sync::{atomic::AtomicU64, Arc}, | ||
// time::SystemTime, | ||
// }; | ||
|
||
// use proto::connection::protocols::Protocol; | ||
// use tokio::sync::Mutex; | ||
|
||
// pub struct ConnectionWithQueue<ProtocolType: Protocol> { | ||
// pub connection: Arc<Mutex<ProtocolType::Connection>>, | ||
// pub last_sent: SystemTime, | ||
// pub buffer: Arc<Mutex<Vec<Arc<Vec<u8>>>>>, | ||
// pub size: AtomicU64, | ||
// } |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pub mod broker; | ||
pub mod user; |
Empty file.
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