MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / Server

Class Server

droute/src/mock.rs:23–27  ·  view source on GitHub ↗

Mock echo server

Source from the content-addressed store, hash-verified

21
22/// Mock echo server
23pub struct Server {
24 socket: UdpSocket,
25 buf: Vec<u8>,
26 to_send: Option<SocketAddr>,
27}
28
29impl Server {
30 /// Create a new mock server

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected