pub struct RuntimeProtocolConfig {Show 22 fields
pub max_ingress_frames: usize,
pub max_ingress_bytes: usize,
pub max_sessions_per_connection: usize,
pub max_control_frames: usize,
pub max_control_bytes: usize,
pub max_egress_frames: usize,
pub max_egress_bytes: usize,
pub max_in_flight_requests: usize,
pub max_in_flight_request_bytes: usize,
pub max_terminal_frames: usize,
pub max_terminal_bytes: usize,
pub terminal_fallback_bytes: usize,
pub max_progress_frames: usize,
pub max_progress_bytes: usize,
pub max_rejection_frames: usize,
pub max_rejection_bytes: usize,
pub shutdown_grace_ms: u64,
pub max_pending_responses: usize,
pub max_pending_response_bytes: usize,
pub max_process_events: usize,
pub max_outbound_requests: usize,
pub max_completed_responses: usize,
}Expand description
Process-owned bounds for the multiplexed sidecar transport.
Ordinary frames and response/control frames have independent admission so
an event or request backlog cannot consume the capacity needed to settle an
already-registered bridge call. Byte ceilings cover retained decoded or
encoded frames; the one active decoder is separately bounded by the wire
codec’s max_frame_bytes setting.
Fields§
§max_ingress_frames: usize§max_ingress_bytes: usize§max_sessions_per_connection: usizeLive session membership retained for one authenticated connection.
max_control_frames: usize§max_control_bytes: usize§max_egress_frames: usize§max_egress_bytes: usize§max_in_flight_requests: usizeRequests admitted for independent execution. The ingress channel is the only pre-admission backlog; there is no ordinary request FIFO after it.
max_in_flight_request_bytes: usize§max_terminal_frames: usizeCapacity reserved for exactly one terminal response per admitted
request. terminal_fallback_bytes is charged at request admission.
max_terminal_bytes: usize§terminal_fallback_bytes: usize§max_progress_frames: usizePhysically control-lane output that must be able to unblock active work.
max_progress_bytes: usize§max_rejection_frames: usizeTyped responses for requests rejected before ordinary admission.
max_rejection_bytes: usize§shutdown_grace_ms: u64Finite deadline for draining already-admitted work after ordinary request admission has closed during protocol shutdown.
max_pending_responses: usize§max_pending_response_bytes: usize§max_process_events: usize§max_outbound_requests: usize§max_completed_responses: usizeTrait Implementations§
Source§impl Clone for RuntimeProtocolConfig
impl Clone for RuntimeProtocolConfig
Source§fn clone(&self) -> RuntimeProtocolConfig
fn clone(&self) -> RuntimeProtocolConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more