forked from ROMEO/nexosim
Fix missing derive clone statement for Requestor
This commit is contained in:
parent
ef43f99a9c
commit
ef17e56b10
@ -202,6 +202,7 @@ impl<T: Clone + Send + 'static> fmt::Debug for Output<T> {
|
|||||||
/// When a `Requestor` is cloned, the information on connected ports remains
|
/// When a `Requestor` is cloned, the information on connected ports remains
|
||||||
/// shared and therefore all clones use and modify the same list of connected
|
/// shared and therefore all clones use and modify the same list of connected
|
||||||
/// ports.
|
/// ports.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Requestor<T: Clone + Send + 'static, R: Send + 'static> {
|
pub struct Requestor<T: Clone + Send + 'static, R: Send + 'static> {
|
||||||
broadcaster: CachedRwLock<QueryBroadcaster<T, R>>,
|
broadcaster: CachedRwLock<QueryBroadcaster<T, R>>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user