Module shio::prelude [] [src]

Re-exports important traits and types. Meant to be glob imported when using Shio.

Reexports

pub use Context;
pub use Request;
pub use Response;
pub use http;
pub use http::Method;

Structs

Parameters
Shio

Enums

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Traits

Future

Trait for types which are a placeholder of a value that may become available at some later point in time.

FutureExt
IntoFuture

Class of types which can be converted into a future.

Stream

A stream of values, not all of which may have been produced yet.

Type Definitions

BoxFuture

A type alias for Box