Module prelude
Source - marker
- Has marker traits for
Validator.
- Arc
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically
Reference Counted’.
- Duration
- A
Duration type to represent a span of time, typically used for system
timeouts. - HashMap
- A hash map implemented with quadratic probing and SIMD lookup.
- JoinError
- Task failed to execute to completion.
- Map
- Represents a JSON key/value type.
- Mutex
- A mutual exclusion primitive useful for protecting shared data
- Path
- A slice of a path (akin to
str). - PathBuf
- An owned, mutable path (akin to
String). - S
- Strongly typed
str - Str
- Strongly typed
String - Strong
- Strongly typed
str - StrongBuf
- Strongly typed
String - Waker
- A
Waker is a handle for waking up a task by notifying its executor that it
is ready to be run. - Weak
Weak is a version of Arc that holds a non-owning reference to the
managed allocation.
- Poll
- Indicates whether a value is available or if the current task has been
scheduled to receive a wakeup instead.
- Value
- Represents any valid JSON value.
- Deserialize
- A data structure that can be deserialized from any data format supported
by Serde.
- DeserializeOwned
- A data structure that can be deserialized without borrowing any data from
the deserializer.
- RemoveOne 🔒
- Serialize
- A data structure that can be serialized into any data format supported
by Serde.
- TryInto
- An attempted conversion that consumes
self, which may or may not be
expensive. - Validator
- For
Strong
- sleep
- Waits until
duration has elapsed. - spawn
- Spawns a new asynchronous task, returning a
JoinHandle for it.
- Am
- Wm
- Deserialize
- Serialize