Crate viz_core

source
Expand description

The core traits and types in for the Viz.

Modules§

Structs§

  • A Clone + Send boxed Handler.
  • A cheaply cloneable and sliceable chunk of contiguous memory.
  • A unique reference to a contiguous slice of memory.
  • A stream of Bytes, used when receiving bodies from the network.
  • A wrapper that implements Tokio’s IO traits for an inner type that implements hyper’s IO traits, or vice versa (implements hyper’s IO traits for a type that implements Tokio’s IO traits).
  • The Request Method (VERB)
  • An HTTP status code (status-code in RFC 7230 et al.).

Enums§

Traits§

Type Aliases§

  • An owned dynamically typed StdError.
  • Represents a middleware parameter, which is a tuple that includes Requset and BoxHandler.
  • Represents an HTTP Request.
  • Represents an HTTP Response.
  • Represents either success (Ok) or failure (Err).

Attribute Macros§

Derive Macros§