pub struct CdpConfig {
pub connect_timeout: Duration,
pub command_timeout: Duration,
pub channel_capacity: usize,
pub reconnect: ReconnectConfig,
}Expand description
Configuration for a CDP client connection.
Fields§
§connect_timeout: DurationTimeout for the initial WebSocket connection (default: 10s).
command_timeout: DurationTimeout for individual CDP commands (default: 30s).
channel_capacity: usizeCapacity of the internal command channel (default: 256).
reconnect: ReconnectConfigReconnection settings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CdpConfig
impl RefUnwindSafe for CdpConfig
impl Send for CdpConfig
impl Sync for CdpConfig
impl Unpin for CdpConfig
impl UnsafeUnpin for CdpConfig
impl UnwindSafe for CdpConfig
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