pub struct BridgeConfig {
pub backend_url: String,
pub api_key: String,
pub heartbeat_interval_secs: u32,
pub reconnect_delay_secs: u32,
pub max_reconnect_attempts: u32,
pub version: String,
pub sessions_dir: PathBuf,
pub attachment_dir: PathBuf,
}Expand description
Remote bridge configuration
All platform-specific values (version, paths) are injected via this config instead of being read from CLI globals.
Fields§
§backend_url: StringBackend base URL (https://…)
api_key: StringAPI key for authentication
heartbeat_interval_secs: u32Heartbeat/poll interval in seconds
reconnect_delay_secs: u32Reconnect delay on disconnect
max_reconnect_attempts: u32Maximum reconnect attempts (0 = unlimited)
version: StringCLI version string (injected, replaces build_info::VERSION)
sessions_dir: PathBufSessions directory for IPC discovery (injected, replaces PlatformPaths)
attachment_dir: PathBufAttachment storage directory (injected, replaces PlatformPaths::data_dir())
Trait Implementations§
Source§impl Clone for BridgeConfig
impl Clone for BridgeConfig
Source§fn clone(&self) -> BridgeConfig
fn clone(&self) -> BridgeConfig
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 BridgeConfig
impl Debug for BridgeConfig
Auto Trait Implementations§
impl Freeze for BridgeConfig
impl RefUnwindSafe for BridgeConfig
impl Send for BridgeConfig
impl Sync for BridgeConfig
impl Unpin for BridgeConfig
impl UnsafeUnpin for BridgeConfig
impl UnwindSafe for BridgeConfig
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