Crate trillium_server_common[−][src]
Expand description
Utilities for building trillium server adapters
Trillium applications should never need to depend directly on this library. Server adapters should reexport any types from this crate that an application author would need to use.
The parts of this crate that are not application facing should be expected to change more frequently than the parts that are application facing.
If you are depending on this crate for private code that cannot be discovered through docs.rs’ reverse dependencies, please open an issue.
Structs
CloneCounter | an atomic counter that increments on clone & decrements on drop |
Config | Primary entrypoint for configuring and running a trillium server |
Stopper | This struct provides a synchronized mechanism for canceling Futures and Streams. |
Url | A parsed URL record. |
Traits
Acceptor | This trait provides the common interface for server-side tls acceptors, abstracting over various implementations |
AsyncRead | Read bytes asynchronously. |
AsyncWrite | Write bytes asynchronously. |
ConfigExt | Server-implementer interfaces to Config |
Connector | Interface for runtime and tls adapters for the trillium client |
Server | The server trait, for standard network-based server implementations. |
Attribute Macros
async_trait |