Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fadeevab/design-patterns-rust
/ Server
Interface
Server
structural/proxy/server.rs:6–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
pub use nginx::NginxServer;
5
6
pub trait Server {
7
fn handle_request(&mut self, url: &str, method: &str) -> (u16, String);
8
}
Callers
nothing calls this directly
Implementers
2
application.rs
structural/proxy/server/application.rs
nginx.rs
structural/proxy/server/nginx.rs
Calls
no outgoing calls
Tested by
no test coverage detected