pub struct WebsocketIO { /* private fields */ }Implementations§
Source§impl WebsocketIO
impl WebsocketIO
pub async fn new(addr: &str) -> Result<WebsocketIO, Error>
pub async fn new_wss(addr: &str) -> Result<WebsocketIO, Error>
pub fn split(self) -> (impl AsyncBufRead, impl AsyncWrite)
Auto Trait Implementations§
impl !RefUnwindSafe for WebsocketIO
impl !UnwindSafe for WebsocketIO
impl Freeze for WebsocketIO
impl Send for WebsocketIO
impl Sync for WebsocketIO
impl Unpin for WebsocketIO
impl UnsafeUnpin for WebsocketIO
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