mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
derive clone
This commit is contained in:
parent
bf586aafc0
commit
0cfc43ed58
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ pub struct ConnectRequest<Z: NetworkZone> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The connector service, this service connects to peer and returns the [`Client`].
|
/// The connector service, this service connects to peer and returns the [`Client`].
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Connector<Z: NetworkZone, AdrBook, CSync, ProtoHdlrMkr, BrdcstStrmMkr> {
|
pub struct Connector<Z: NetworkZone, AdrBook, CSync, ProtoHdlrMkr, BrdcstStrmMkr> {
|
||||||
handshaker: HandShaker<Z, AdrBook, CSync, ProtoHdlrMkr, BrdcstStrmMkr>,
|
handshaker: HandShaker<Z, AdrBook, CSync, ProtoHdlrMkr, BrdcstStrmMkr>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue