MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / get

Method get

crates/cargo-lambda-watch/src/state.rs:369–372  ·  view source on GitHub ↗

Get the instance ID for a connection, if registered

(&self, peer: &SocketAddr)

Source from the content-addressed store, hash-verified

367
368 /// Get the instance ID for a connection, if registered
369 pub async fn get(&self, peer: &SocketAddr) -> Option<(String, InstanceId)> {
370 let connections = self.connections.read().await;
371 connections.get(peer).cloned()
372 }
373}

Callers 15

find_binary_metadataMethod · 0.80
varMethod · 0.80
atMethod · 0.80
deserializeMethod · 0.80
should_render_fileFunction · 0.80
should_ignore_fileFunction · 0.80
test_mark_busy_and_idleFunction · 0.80
furls_handlerFunction · 0.80
schedule_invocationFunction · 0.80
is_streaming_responseFunction · 0.80
popMethod · 0.80

Calls 1

readMethod · 0.80

Tested by 1

test_mark_busy_and_idleFunction · 0.64