Expand description
Provides generic data types used across multiple TinyChain sub-crates.
This library is a part of TinyChain: http://github.com/haydnv/tinychain
Modules§
Structs§
- Class
Visitor - Id
- A human-readable ID
- Label
- A static label which implements
Into<Id>. - Map
- A generic map whose keys are
Ids, based onBTreeMap - Network
Time - The current time of the TinyChain network, used to generate transaction IDs.
- Path
Label - A constant representing a
PathBuf. - TCPath
- A segmented link safe to use with a filesystem or via HTTP.
- TCPath
Buf - A segmented link buffer safe to use with a filesystem or via HTTP.
- Tuple
- A generic tuple type, based on
Vec
Traits§
- Class
- A generic class trait
- Instance
- A generic instance trait
- Native
Class - A generic native (i.e. implemented in Rust) class trait
- Thread
Safe - A thread-safe type
Functions§
- label
- Return a
Labelwith the given staticstr. - path_
label - Return a
PathLabelwith the given segments.
Type Aliases§
- Path
Segment - A segment of a
Path - TCBox
Future - A pinned future
- TCBox
Stream - A pinned
Stream - TCBox
TryFuture - A pinned future which returns a
TCResult - TCBox
TryStream - A pinned
TryStreamwith error typeTCError