Re-exports§
pub use crate::backends::BackendMap;
pub use crate::http::HttpProxy;
pub use crate::https::HttpsProxy;
pub use crate::pool::Pool;
pub use crate::server::Server;
pub use crate::server::ListenSession;
pub use crate::server::ProxyChannel;
pub use crate::server::SessionManager;
pub use crate::tcp::TcpProxy;
pub use crate::Protocol;
pub use crate::ProxySession;
Structs§
- Http
Listener Config - details of an HTTP listener
- Https
Listener Config - details of an HTTPS listener
- Listeners
- Socket addresses and file descriptors of TCP sockets, needed by a Proxy to start listening
- Poll
- Polls for readiness events on all registered values.
- Rc
- A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
- RefCell
- A mutable memory location with dynamically checked borrow rules
- Registry
- Registers I/O resources.
- ScmSocket
- A unix socket specialized for file descriptor passing
- Server
Config - Used by a worker to start its server loop. The defaults should match those of the config module
- Server
Parts - Everything needed to create a Server
- Slab
- Pre-allocated storage for a uniform data type
- TcpListener
Config - details of an TCP listener
- Token
- Associates readiness events with
event::Source
s. - Unix
Stream - A non-blocking Unix stream socket.
Traits§
- Context
- Provides the
context
method forResult
. - Into
RawFd - A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.
Functions§
- prebuild_
server - Setup a standalone server, for testing purposes