diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-11-05 20:15:24 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-11-05 20:59:41 +0100 |
commit | 6a483a052bf39ea6834cec96acc6771e63d2bc94 (patch) | |
tree | d687a9f41086304391b21b75fdbf83e0b91ae9dc /src/endpoint/mod.rs | |
parent | 913fc8a8c59204b262b5692e8e6dc468363a2c5e (diff) |
Remove EndpointManager
This patch removes the `EndpointManager` type,
which did nothing except wrap the `ConfiguredEndpoint` and make things way
more complicated than they need to be.
Now, the `EndpointScheduler` holds the `ConfiguredEndpoint`s directly in
a `Arc<RwLock<_>>` and manages them without the additional layer of
complexity.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint/mod.rs')
-rw-r--r-- | src/endpoint/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/endpoint/mod.rs b/src/endpoint/mod.rs index 4a57f67..d75fc7e 100644 --- a/src/endpoint/mod.rs +++ b/src/endpoint/mod.rs @@ -1,6 +1,3 @@ -mod manager; -pub use manager::*; - mod managerconf; pub use managerconf::*; @@ -8,4 +5,5 @@ mod scheduler; pub use scheduler::*; mod configured; +pub use configured::*; |