Diff
Not logged in

Differences From Artifact [2053c64c1c]:

To Artifact [d80e98892f]:


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pub use self::config_handler::Config;
pub use self::connect::Connect;
pub use self::connection_candidate::ConnectionCandidate;
pub use self::connection_listener::ConnectionListener;
pub use self::error::CrustError;
pub use self::event::Event;
pub use self::service::Service;
pub use self::types::{ConnectionId, ConnectionInfoResult, PeerId, PrivConnectionInfo,
                      PubConnectionInfo};
use std::collections::HashMap;
use std::sync::{Arc, Mutex};

pub type ConnectionMap = Arc<Mutex<HashMap<PeerId, ConnectionId>>>;

mod active_connection;
mod bootstrap;
mod config_handler;
mod connect;
mod connection_candidate;
mod connection_listener;
mod event;
mod error;
mod service;
mod types;







|
<



|











20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pub use self::config_handler::Config;
pub use self::connect::Connect;
pub use self::connection_candidate::ConnectionCandidate;
pub use self::connection_listener::ConnectionListener;
pub use self::error::CrustError;
pub use self::event::Event;
pub use self::service::Service;
pub use self::types::{ConnectionId, ConnectionInfoResult, PrivConnectionInfo, PubConnectionInfo};

use std::collections::HashMap;
use std::sync::{Arc, Mutex};

pub type ConnectionMap<UID> = Arc<Mutex<HashMap<UID, ConnectionId>>>;

mod active_connection;
mod bootstrap;
mod config_handler;
mod connect;
mod connection_candidate;
mod connection_listener;
mod event;
mod error;
mod service;
mod types;