Module ntex::util

source ·

Modules§

  • Service that buffers incomming requests.
  • Service that limits number of in-flight async requests.
  • Service that limits number of in-flight async requests to 1.
  • Service that applies a timeout to requests.
  • Contains Variant service and related types and functions.

Macros§

  • Extracts the successful type of a Poll<T>.

Structs§

Enums§

  • Combines two different futures, streams, or sinks having the same associated types into a single type.
  • A future representing a value that is immediately ready.

Traits§

  • Read bytes from a buffer.
  • A trait for values that provide sequential write access to bytes.
  • A Sink is a value into which other values can be sent, asynchronously.
  • A stream of values produced asynchronously.
  • A convenience for futures that return Result values that includes a variety of adapters tailored to such futures.

Functions§

  • Future for the join combinator, waiting for two futures to complete.
  • Creates a future which represents a collection of the outputs of the futures given.
  • Creates a new future that allows delayed execution of a closure.
  • Waits for either one of two differently-typed futures to complete.
  • A future that completes after the given item has been fully processed into the sink, including flushing.
  • Creates a future that resolves to the next item in the stream.

Type Aliases§

  • An owned dynamically typed Future for use in cases where you can’t statically type your result or need to add some indirection.