pub struct WsClient { /* private fields */ }Implementations§
Source§impl WsClient
impl WsClient
pub fn new(url: String) -> (Self, WsHandle)
pub fn with_cancellation_token(self, token: CancellationToken) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsClient
impl RefUnwindSafe for WsClient
impl Send for WsClient
impl Sync for WsClient
impl Unpin for WsClient
impl UnwindSafe for WsClient
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