Crate hyper_static_server[−][src]
Re-exports
pub use hyper_simple_server as hss; |
Modules
bytes | Provides abstractions for working with bytes. |
consts | |
http_body | Asynchronous HTTP request or response body. |
hyper | hyper |
native_tls | An abstraction over platform-specific TLS implementations. |
rustls | Rustls - a modern TLS library |
rustls_pemfile | rustls-pemfile |
tokio | A runtime for writing reliable network applications without compromising speed. |
tokio_native_tls | Async TLS streams |
tokio_rustls | Asynchronous TLS/SSL streams for Tokio using Rustls. |
Macros
askama | |
builder_generated | |
builder_macros | |
dependencies | |
resource | |
resource_path | |
route | |
routes |
Structs
Body | A stream of |
BodyData | Future that resolves to the next data chunk from |
BodyDynBox | |
BodySizeHint | A |
BodyTrailers | Future that resolves to the optional trailers from |
BodyWrapper | |
Builder | |
BuilderConfiguration | |
Bytes | A cheaply cloneable and sliceable chunk of contiguous memory. |
Configuration | |
ConfigurationArguments | |
ConfigurationBuilder | |
EmbeddedResource | |
Endpoint | |
FileResource | |
HandlerDynArc | |
HandlerFnAsync | |
HandlerFnSync | |
HandlerFutureDynBox | |
HandlerSimpleAsyncWrapper | |
HandlerSimpleAsyncWrapperFuture | |
HandlerSimpleSyncWrapper | |
HandlerWrapper | |
HeaderMap | A set of HTTP headers |
HeaderName | Represents an HTTP header field name |
HeaderValue | Represents an HTTP header field value. |
Method | The Request Method (VERB) |
NativeTlsCertificate | |
Request | Represents an HTTP request. |
RequestBuilder | An HTTP request builder |
RequestParts | Component parts of an HTTP |
Response | Represents an HTTP response |
ResponseBuilder | An HTTP response builder |
ResponseParts | Component parts of an HTTP |
Route | |
RouteMatched | |
Routes | |
RoutesBuilder | |
RustTlsCertificate | |
Server | |
ServerExecutor | |
StaticResource | |
StatusCode | An HTTP status code ( |
Uri | The URI component of a request. |
Version | Represents a version of the HTTP spec. |
Enums
Accepter | |
Connection | |
ContentType | |
EndpointAddress | |
EndpointProtocol | |
EndpointSecurity | |
RoutePaths |
Traits
AsHeaderName | A marker trait used to identify values that can be used as search keys
to a |
BodyDyn | |
BodyTrait | Trait representing a streaming body of a Request or Response. |
Buf | Read bytes from a buffer. |
Handler | |
HandlerDyn | |
HandlerSimpleAsync | |
HandlerSimpleSync | |
IntoHeaderName | A marker trait used to identify values that can be used as insert keys
to a |
RequestExt | |
ResponseExt | |
ResponseExtBuild | |
RoutePathBuilder |
Functions
main_configuration_from_template | |
main_configuration_http | |
main_with_handler | |
main_with_handler_dyn | |
main_with_routes | |
main_with_static |
Type Definitions
Headers | |
ServerError | |
ServerResult |