pub struct RelayRuntimeConfig {
pub per_session_downstream_queue_capacity: usize,
pub session_event_queue_capacity: usize,
pub downstream_to_upstream_send: ClientSendOptions,
pub upstream_to_downstream_send: SendOptions,
pub downstream_overflow_policy: RelayOverflowPolicy,
pub budget_overflow_policy: RelayOverflowPolicy,
pub downstream_max_pending_packets: usize,
pub downstream_max_pending_bytes: usize,
pub upstream_max_pending_packets: usize,
pub upstream_max_pending_bytes: usize,
pub session_total_max_pending_bytes: usize,
}Fields§
§per_session_downstream_queue_capacity: usize§session_event_queue_capacity: usize§downstream_to_upstream_send: ClientSendOptions§upstream_to_downstream_send: SendOptions§downstream_overflow_policy: RelayOverflowPolicy§budget_overflow_policy: RelayOverflowPolicy§downstream_max_pending_packets: usize§downstream_max_pending_bytes: usize§upstream_max_pending_packets: usize§upstream_max_pending_bytes: usize§session_total_max_pending_bytes: usizeImplementations§
Source§impl RelayRuntimeConfig
impl RelayRuntimeConfig
pub fn validate(&self) -> Result<(), ConfigValidationError>
Trait Implementations§
Source§impl Clone for RelayRuntimeConfig
impl Clone for RelayRuntimeConfig
Source§fn clone(&self) -> RelayRuntimeConfig
fn clone(&self) -> RelayRuntimeConfig
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 moreSource§impl Debug for RelayRuntimeConfig
impl Debug for RelayRuntimeConfig
Source§impl Default for RelayRuntimeConfig
impl Default for RelayRuntimeConfig
impl Copy for RelayRuntimeConfig
Auto Trait Implementations§
impl Freeze for RelayRuntimeConfig
impl RefUnwindSafe for RelayRuntimeConfig
impl Send for RelayRuntimeConfig
impl Sync for RelayRuntimeConfig
impl Unpin for RelayRuntimeConfig
impl UnsafeUnpin for RelayRuntimeConfig
impl UnwindSafe for RelayRuntimeConfig
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