pub struct WebSocketClientBuilder { /* private fields */ }Expand description
WebSocket client builder
Implementations§
Source§impl WebSocketClientBuilder
impl WebSocketClientBuilder
Sourcepub const fn new(config: WebSocketConfig) -> Self
pub const fn new(config: WebSocketConfig) -> Self
Create a new builder
Sourcepub fn build(self) -> WebSocketClient
pub fn build(self) -> WebSocketClient
Build the client
Auto Trait Implementations§
impl Freeze for WebSocketClientBuilder
impl RefUnwindSafe for WebSocketClientBuilder
impl Send for WebSocketClientBuilder
impl Sync for WebSocketClientBuilder
impl Unpin for WebSocketClientBuilder
impl UnwindSafe for WebSocketClientBuilder
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