Rust referenceweave-swarm
weave-swarm · runtime::limits
Source declarations, signatures and documentation for runtime::limits.
Source: sigil/weave/network/weave-swarm/src/runtime/limits.rs. SHA-256: 313be625e5e20becaa3e2a9e490eee9f393b4492a18a7d6ba7209e1b577ddfa7.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
runtime::limits::RuntimeLimits
D1a subset of the frozen client resource defaults.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct RuntimeLimits {
pub half_open_total: u32,
pub pre_identity_inbound: u32,
pub established_total: u32,
pub established_per_peer: u32,
pub application_streams_per_connection: u32,
pub application_streams_total: u32,
pub pending_dials_total: u32,
pub pending_dials_per_peer: u32,
pub pending_opens_total: u32,
pub pending_opens_per_peer: u32,
pub command_queue: u32,
pub event_queue: u32
}Source line: 13.
runtime::limits::RuntimeLimits::validate
pub fn validate(&self) -> Result<(), RuntimeError>;Source line: 48.
runtime::limits::RuntimeLimits::digest
pub fn digest(&self) -> [u8; 32];Source line: 82.