pub struct GradientRoutingConfig {
pub enabled: bool,
pub max_routes_per_destination: usize,
pub route_ttl_secs: u64,
pub max_routing_table_size: usize,
}Expand description
Configuration for gradient routing.
Fields§
§enabled: boolEnable gradient routing for directed message delivery.
max_routes_per_destination: usizeMaximum entries in the routing table per destination.
route_ttl_secs: u64Time to live for routing entries (seconds).
max_routing_table_size: usizeMaximum total routing table entries.
Trait Implementations§
Source§impl Clone for GradientRoutingConfig
impl Clone for GradientRoutingConfig
Source§fn clone(&self) -> GradientRoutingConfig
fn clone(&self) -> GradientRoutingConfig
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 GradientRoutingConfig
impl Debug for GradientRoutingConfig
Auto Trait Implementations§
impl Freeze for GradientRoutingConfig
impl RefUnwindSafe for GradientRoutingConfig
impl Send for GradientRoutingConfig
impl Sync for GradientRoutingConfig
impl Unpin for GradientRoutingConfig
impl UnsafeUnpin for GradientRoutingConfig
impl UnwindSafe for GradientRoutingConfig
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