pub struct RuntimeProtocolConfig {
pub max_ingress_frames: usize,
pub max_ingress_bytes: usize,
pub max_control_frames: usize,
pub max_control_bytes: usize,
pub max_egress_frames: usize,
pub max_egress_bytes: usize,
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_control_frames: usize§max_control_bytes: usize§max_egress_frames: usize§max_egress_bytes: usize§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
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 RuntimeProtocolConfig
impl Debug for RuntimeProtocolConfig
Source§impl Default for RuntimeProtocolConfig
impl Default for RuntimeProtocolConfig
impl Eq for RuntimeProtocolConfig
Source§impl PartialEq for RuntimeProtocolConfig
impl PartialEq for RuntimeProtocolConfig
impl StructuralPartialEq for RuntimeProtocolConfig
Auto Trait Implementations§
impl Freeze for RuntimeProtocolConfig
impl RefUnwindSafe for RuntimeProtocolConfig
impl Send for RuntimeProtocolConfig
impl Sync for RuntimeProtocolConfig
impl Unpin for RuntimeProtocolConfig
impl UnsafeUnpin for RuntimeProtocolConfig
impl UnwindSafe for RuntimeProtocolConfig
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