Docs.rs
instance-chart-0.4.0
instance-chart 0.4.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
dvdsk
Dependencies
bincode ^1.3
normal
rand ^0.8
normal
serde ^1
normal
serde-big-array ^0.5
normal
socket2 ^0.5
normal
thiserror ^1
normal
tokio ^1
normal
tracing ^0.1
normal
console-subscriber ^0.1
dev
futures ^0.3
dev
indicatif ^0.17
dev
mac_address ^1.1
dev
more-asserts ^0.3
dev
tokio ^1
dev
tracing-subscriber ^0.3
dev
Versions
86.36%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module discovery
instance_
chart
0.4.0
Module discovery
Module Items
Functions
In crate instance_
chart
instance_chart
Module
discovery
Copy item path
Source
Functions
ยง
found_
everyone
Block until
full_size
nodes have been found.
found_
majority
Block until a majority of nodes have been found. Usefull when implementing vote based consensus such as Raft.
maintain
This drives the chart discovery. You can drop the future but then the chart will no longer be updated.
sniff
This listens only, mapping the cluster without announcing itself. Usefull for clients on the same subnet trying to find nodes to contact. You can drop the future but then the chart will no longer be updated.