pub trait Node: Send + Sync { type Id: Eq + Hash + Clone + Debug + Send + Sync; // Required method fn id(&self) -> &Self::Id; }
A backend node that can be selected by a load balancing strategy.
Unique identifier type for this node.
Returns a reference to this node’s unique identifier.