MCPcopy Create free account
hub / github.com/DefGuard/gateway / clone

Method clone

src/setup.rs:165–175  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

163
164impl Clone for GatewaySetupServer {
165 fn clone(&self) -> Self {
166 Self {
167 key_pair: Arc::clone(&self.key_pair),
168 logs_rx: Arc::clone(&self.logs_rx),
169 current_session_token: Arc::clone(&self.current_session_token),
170 setup_tx: Arc::clone(&self.setup_tx),
171 setup_rx: Arc::clone(&self.setup_rx),
172 adoption_expired: Arc::clone(&self.adoption_expired),
173 cert_dir: Arc::clone(&self.cert_dir),
174 }
175 }
176}
177
178impl GatewaySetupServer {

Callers 15

startMethod · 0.80
run_gateway_loopFunction · 0.80
replace_peersMethod · 0.80
configureMethod · 0.80
send_to_clientMethod · 0.80
handle_updatesMethod · 0.80
run_statsFunction · 0.80
run_setupFunction · 0.80
await_setupMethod · 0.80
startMethod · 0.80
generateMethod · 0.80

Calls

no outgoing calls

Tested by 8

generateMethod · 0.64
make_tls_configFunction · 0.64
build_gatewayFunction · 0.64
test_merge_addrs_gapFunction · 0.64