Crate mz_server_core
source ·Expand description
Methods common to servers listening for TCP connections.
Structs§
- A handle to a listener created by
listen
. - An SslContext whose inner value can be updated.
- Configures a server’s TLS encryption and authentication with reloading.
- Configures TLS encryption for connections.
- Command line arguments for TLS.
- Configures a server’s TLS encryption and authentication.
Enums§
- Specifies how strictly to enforce TLS encryption.
Traits§
- A stream of incoming connections.
- A server handles incoming network connections.
Functions§
- Returns a ReloadTrigger that never triggers.
- Returns a ReloadTrigger that triggers once per hour.
- Listens for incoming TCP connections on the specified address.
- Serves incoming TCP connections from
conns
usingserver
.wait_timeout
is the time to wait afterconns
terminates for outstanding connections to complete. Returns handles to the outstanding connections afterwait_timeout
has expired or all connections have completed.
Type Aliases§
- A future that handles a connection.