pub struct PathConfig {
pub forward_to_top_k: usize,
pub max_congestion_level: f32,
pub gossip: GossipConfig,
pub gradient_routing: GradientRoutingConfig,
}Expand description
Path selection configuration.
Fields§
§forward_to_top_k: usizeNumber of top relays to forward to (for redundancy).
max_congestion_level: f32Maximum acceptable congestion level (0.0-1.0).
gossip: GossipConfigGossip forwarding configuration for scalable message propagation.
gradient_routing: GradientRoutingConfigGradient routing configuration for directed message delivery.
Trait Implementations§
Source§impl Clone for PathConfig
impl Clone for PathConfig
Source§fn clone(&self) -> PathConfig
fn clone(&self) -> PathConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathConfig
impl Debug for PathConfig
Auto Trait Implementations§
impl Freeze for PathConfig
impl RefUnwindSafe for PathConfig
impl Send for PathConfig
impl Sync for PathConfig
impl Unpin for PathConfig
impl UnsafeUnpin for PathConfig
impl UnwindSafe for PathConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more