refactor(src/pull_queue.rs): drop "end" method, add Drop impl
modified src/pull_queue.rs
@@ -18,7 +18,6 @@ use std::sync::{Arc, Condvar, Mutex};
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -38,11 +37,26 @@ impl<T> Clone for PullQueue<T> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -66,17 +80,6 @@ impl<T: Clone> PullQueue<T> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified src/queueproc.rs
@@ -84,7 +84,7 @@ impl QueueProcessorBuilder {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -140,7 +140,7 @@ pub struct QueueProcessor {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -168,7 +168,6 @@ impl QueueProcessor {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -186,6 +185,7 @@ impl QueueProcessor {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -193,9 +193,7 @@ impl QueueProcessor {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|