Expand description
NodeCraft
Crafting seamless node operations for distributed systems, which provides foundational traits for node identification and address resolution.
§Installation
[dependencies]
nodecraft = "0.8"§Examples
See memberlist, an async runtime agnostic GOSSIP protocol implementation.
§License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Re-exports§
Modules§
- resolver
resolver AddressResolvertrait for async.
Structs§
- Archived
Node - An archived
Node - Node
- Node is consist of id and address, which can be used as a identifier in a distributed system.
- NodeId
stdoralloc - A unique string identifying a server for all time. The maximum length of an id is 512 bytes.
- Node
IdRef - A unique string identifying a server for all time. The maximum length of an id is 512 bytes.
- Node
Resolver - The resolver for an archived
Node
Enums§
- Parse
Node IdError - Errors that can occur when transforming an
NodeId.
Traits§
- Address
- Address abstraction for distributed systems
- Cheap
Clone - Things that are fast to clone in the context of an application.
- Id
- Id abstraction for distributed systems
Type Aliases§
- Domain
hostaddr - Domain type alias
- Domain
Buffer hostaddr - Domain type alias
- Host
Addr hostaddr - Host address type alias
- Host
Addr Buffer hostaddr - Host address type alias