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

Function net_error_event

perro_source/api_modules/perro_networking/src/world.rs:553–561  ·  view source on GitHub ↗
(source: NetSource, op: &str, err: NetError)

Source from the content-addressed store, hash-verified

551 }
552}
553
554impl Default for NetworkWorld {
555 fn default() -> Self {
556 Self::new()
557 }
558}
559
560fn net_error_event(source: NetSource, op: &str, err: NetError) -> NetworkEvent {
561 NetworkEvent {
562 source,
563 event: NetEvent::NetError {
564 op: op.to_string(),

Callers 7

poll_acceptsMethod · 0.85
poll_tcp_dataMethod · 0.85
poll_tcp_framesMethod · 0.85
poll_udp_packetsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected