pub struct CdpConnectionOptions {
pub timeout: Option<Duration>,
pub headers: HashMap<String, String>,
}Expand description
Options for CDP connection.
Fields§
§timeout: Option<Duration>Timeout for the connection attempt.
headers: HashMap<String, String>Custom headers to include in the WebSocket upgrade request.
Implementations§
Trait Implementations§
Source§impl Clone for CdpConnectionOptions
impl Clone for CdpConnectionOptions
Source§fn clone(&self) -> CdpConnectionOptions
fn clone(&self) -> CdpConnectionOptions
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 CdpConnectionOptions
impl Debug for CdpConnectionOptions
Source§impl Default for CdpConnectionOptions
impl Default for CdpConnectionOptions
Source§fn default() -> CdpConnectionOptions
fn default() -> CdpConnectionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CdpConnectionOptions
impl RefUnwindSafe for CdpConnectionOptions
impl Send for CdpConnectionOptions
impl Sync for CdpConnectionOptions
impl Unpin for CdpConnectionOptions
impl UnwindSafe for CdpConnectionOptions
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