Module ntex::util [−][src]
Modules
buffer | Service that buffers incomming requests. |
counter | |
inflight | Service that limits number of in-flight async requests. |
keepalive | |
sink | |
stream | |
time | |
timeout | Service that applies a timeout to requests. |
variant | Contains |
Structs
ByteString | An immutable UTF-8 encoded string with |
Bytes | A cheaply cloneable and sliceable chunk of contiguous memory. |
BytesMut | A unique reference to a contiguous slice of memory. |
Extensions | A type map of request extensions. |
Lazy | Future for the |
Enums
Either | Combines two different futures, streams, or sinks having the same associated types into a single type. |
Ready | A future representing a value that is immediately ready. |
Traits
Buf | Read bytes from a buffer. |
BufMut | A trait for values that provide sequential write access to bytes. |
Functions
join | Future for the |
join_all | Creates a future which represents a collection of the outputs of the futures given. |
lazy | Creates a new future that allows delayed execution of a closure. |
next | Creates a future that resolves to the next item in the stream. |
poll_fn | Creates a new future wrapping around a function returning |
select | Waits for either one of two differently-typed futures to complete. |
send | A future that completes after the given item has been fully processed into the sink, including flushing. |
Type Definitions
HashMap | |
HashSet |