pub struct ClientWsConfig {
pub tcp_config: TcpConfig,
pub wss_config: Option<ClientWssConfig>,
}
Expand description
WS configuration
Fields§
§tcp_config: TcpConfig
§wss_config: Option<ClientWssConfig>
Trait Implementations§
Source§impl Clone for ClientWsConfig
impl Clone for ClientWsConfig
Source§fn clone(&self) -> ClientWsConfig
fn clone(&self) -> ClientWsConfig
Returns a copy 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 Default for ClientWsConfig
impl Default for ClientWsConfig
Source§fn default() -> ClientWsConfig
fn default() -> ClientWsConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientWsConfig
impl !RefUnwindSafe for ClientWsConfig
impl Send for ClientWsConfig
impl Sync for ClientWsConfig
impl Unpin for ClientWsConfig
impl !UnwindSafe for ClientWsConfig
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