pub struct PropagationDecision {
pub target: NodeId,
pub should_send: bool,
pub priority: PropagationPriority,
pub delay_ms: u32,
pub quality_level: u8,
}Expand description
Propagation decision for a specific node
Fields§
§target: NodeIdTarget node
should_send: boolShould we send to this node?
priority: PropagationPriorityPriority for this target
delay_ms: u32Delay before sending (for rate limiting)
quality_level: u8Quality level (for degradation)
Trait Implementations§
Source§impl Clone for PropagationDecision
impl Clone for PropagationDecision
Source§fn clone(&self) -> PropagationDecision
fn clone(&self) -> PropagationDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PropagationDecision
impl RefUnwindSafe for PropagationDecision
impl Send for PropagationDecision
impl Sync for PropagationDecision
impl Unpin for PropagationDecision
impl UnsafeUnpin for PropagationDecision
impl UnwindSafe for PropagationDecision
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