MCPcopy Create free account
hub / github.com/PerroEngine/Perro / udp_endpoint

Method udp_endpoint

perro_source/api_modules/perro_networking/src/world.rs:527–529  ·  view source on GitHub ↗
(&self, id: UdpEndpointId)

Source from the content-addressed store, hash-verified

525
526 fn tcp_connection(&self, id: TcpConnectionId) -> NetResult<&TcpConnection> {
527 get_slot(&self.tcp_connections, id.0, "tcp connection")
528 }
529
530 fn tcp_connection_mut(&mut self, id: TcpConnectionId) -> NetResult<&mut TcpConnection> {
531 get_slot_mut(&mut self.tcp_connections, id.0, "tcp connection")
532 }

Callers 2

udp_addrMethod · 0.80
udp_send_toMethod · 0.80

Calls 1

get_slotFunction · 0.85

Tested by

no test coverage detected