Expand description
Utilities shared by the ntex ecosystem.
This crate provides:
channelfor local asynchronous communication primitivesfuturefor future and stream combinatorsservicesfor reusable service middlewaretaskfor task wake-up and cooperative yieldingtimefor timers, intervals, deadlines, and timeouts
Most types in this crate are designed for ntex’s single-threaded execution
model and therefore do not necessarily implement Send or Sync.
Modules§
- channel
- Asynchronous communication primitives.
- future
- Future and stream utilities.
- services
- Reusable services and middleware.
- task
- Task wake-up and scheduling utilities.
- time
- Utilities for tracking time.
Traits§
- Stream
- A stream of values produced asynchronously.
Functions§
- clone_
io_ error - Clones an I/O error’s kind and debug representation.
- dyn_err
- Boxes an error as a dynamically dispatched error.
- dyn_
rc_ err - Wraps an error in a reference-counted, dynamically dispatched error.
- spawn
- str_
rc_ err - Converts a string into a reference-counted error.
Type Aliases§
- HashMap
- A hash map using ntex’s fast, randomly seeded hash state.
- Hash
Random State - The hash state used by
HashMapandHashSet. - HashSet
- A hash set using ntex’s fast, randomly seeded hash state.