pub struct WebsocketClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Client for WebsocketClient
impl Client for WebsocketClient
Source§fn submit_op(&mut self, op: CanvasOp) -> ClientOpId
fn submit_op(&mut self, op: CanvasOp) -> ClientOpId
Submit an op to the server. Returns the client_op_id the op was tagged
with (monotonic per client), which will be echoed back in the matching
Ack or Reject.
Auto Trait Implementations§
impl Freeze for WebsocketClient
impl !RefUnwindSafe for WebsocketClient
impl Send for WebsocketClient
impl !Sync for WebsocketClient
impl Unpin for WebsocketClient
impl UnsafeUnpin for WebsocketClient
impl !UnwindSafe for WebsocketClient
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