Wrap network under its own mod
This commit is contained in:
parent
6996027741
commit
91372b99ac
3 changed files with 2 additions and 5 deletions
|
|
@ -8,7 +8,6 @@ use std::{
|
|||
time::{Duration, Instant},
|
||||
};
|
||||
|
||||
|
||||
use log::{debug, error, warn};
|
||||
|
||||
pub trait Bearer: Read + Write + Send + Sync + Sized {
|
||||
|
|
@ -163,10 +162,7 @@ impl Multiplexer {
|
|||
}
|
||||
|
||||
pub fn use_channel(&mut self, protocol_id: u16) -> ChannelProtocolIO {
|
||||
self
|
||||
.io_handles
|
||||
.remove(&protocol_id)
|
||||
.unwrap()
|
||||
self.io_handles.remove(&protocol_id).unwrap()
|
||||
}
|
||||
|
||||
pub fn join(self) {
|
||||
|
|
|
|||
1
pallas/src/ouroboros/mod.rs
Normal file
1
pallas/src/ouroboros/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub mod network;
|
||||
Loading…
Add table
Add a link
Reference in a new issue