pub struct EnvLessBridgeConfig {Show 13 fields
pub init_retry_max_attempts: u32,
pub init_retry_base_delay_ms: u64,
pub init_retry_jitter_fraction: f64,
pub init_retry_max_delay_ms: u64,
pub http_timeout_ms: u64,
pub uuid_dedup_buffer_size: u32,
pub heartbeat_interval_ms: u64,
pub heartbeat_jitter_fraction: f64,
pub token_refresh_buffer_ms: u64,
pub teardown_archive_timeout_ms: u64,
pub connect_timeout_ms: u64,
pub min_version: &'static str,
pub should_show_app_upgrade_message: bool,
}Expand description
Configuration for the env-less bridge timing and behavior.
Fields§
§init_retry_max_attempts: u32Init-phase backoff (createSession, POST /bridge, recovery /bridge)
init_retry_base_delay_ms: u64Base delay for init retry in milliseconds
init_retry_jitter_fraction: f64Jitter fraction for init retry (0.0-1.0)
init_retry_max_delay_ms: u64Max delay for init retry in milliseconds
http_timeout_ms: u64Axios timeout for POST /sessions, POST /bridge, POST /archive
uuid_dedup_buffer_size: u32BoundedUUIDSet ring size (echo + re-delivery dedup)
heartbeat_interval_ms: u64CCRClient worker heartbeat cadence in milliseconds
heartbeat_jitter_fraction: f64Fraction of interval for per-beat jitter
token_refresh_buffer_ms: u64Fire proactive JWT refresh this long before expires_in
teardown_archive_timeout_ms: u64Archive POST timeout in teardown()
connect_timeout_ms: u64Deadline for onConnect after transport.connect()
min_version: &'static strSemver floor for the env-less bridge path
should_show_app_upgrade_message: boolWhether to show app upgrade message
Trait Implementations§
Source§impl Clone for EnvLessBridgeConfig
impl Clone for EnvLessBridgeConfig
Source§fn clone(&self) -> EnvLessBridgeConfig
fn clone(&self) -> EnvLessBridgeConfig
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 EnvLessBridgeConfig
impl Debug for EnvLessBridgeConfig
Source§impl Deserialize<'static> for EnvLessBridgeConfig
impl Deserialize<'static> for EnvLessBridgeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnvLessBridgeConfig
impl RefUnwindSafe for EnvLessBridgeConfig
impl Send for EnvLessBridgeConfig
impl Sync for EnvLessBridgeConfig
impl Unpin for EnvLessBridgeConfig
impl UnsafeUnpin for EnvLessBridgeConfig
impl UnwindSafe for EnvLessBridgeConfig
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