pub struct KiteManagerConfig {
pub max_symbols_per_connection: usize,
pub max_connections: usize,
pub connection_buffer_size: usize,
pub parser_buffer_size: usize,
pub connection_timeout: Duration,
pub health_check_interval: Duration,
pub max_reconnect_attempts: usize,
pub reconnect_delay: Duration,
pub enable_dedicated_parsers: bool,
pub default_mode: Mode,
pub heartbeat_liveness_threshold: Duration,
}Expand description
Configuration for the KiteTicker multi-connection manager
Fields§
§max_symbols_per_connection: usizeMaximum symbols per WebSocket connection (Kite limit: 3000)
max_connections: usizeNumber of WebSocket connections to maintain (Kite limit: 3)
connection_buffer_size: usizeBuffer size for each connection’s message channel
parser_buffer_size: usizeBuffer size for each parser’s output channel
connection_timeout: DurationConnection timeout for establishing WebSocket connections
health_check_interval: DurationHealth check interval for monitoring connections
max_reconnect_attempts: usizeMaximum reconnection attempts per connection
reconnect_delay: DurationDelay between reconnection attempts
enable_dedicated_parsers: boolEnable dedicated parser tasks for each connection
default_mode: ModeDefault subscription mode for new symbols
heartbeat_liveness_threshold: DurationConsider the websocket alive if a frame (including heartbeat) arrived within this duration
Trait Implementations§
Source§impl Clone for KiteManagerConfig
impl Clone for KiteManagerConfig
Source§fn clone(&self) -> KiteManagerConfig
fn clone(&self) -> KiteManagerConfig
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 KiteManagerConfig
impl Debug for KiteManagerConfig
Auto Trait Implementations§
impl Freeze for KiteManagerConfig
impl RefUnwindSafe for KiteManagerConfig
impl Send for KiteManagerConfig
impl Sync for KiteManagerConfig
impl Unpin for KiteManagerConfig
impl UnwindSafe for KiteManagerConfig
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