Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rust-Web-Development/code
/ OneshotHandler
Class
OneshotHandler
ch_11/mock-server/src/lib.rs:13–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
}
12
13
pub struct OneshotHandler {
14
pub sender: Sender<i32>,
15
}
16
17
impl MockServer {
18
pub fn new(bind_addr: SocketAddr) -> MockServer {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected