pub struct RoomSocket { /* private fields */ }Expand description
A room’s WebSocket, as room.ws hands it out in the TypeScript SDK.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for RoomSocket
impl Freeze for RoomSocket
impl Move for RoomSocket
impl RefUnwindSafe for RoomSocketwhere
Atomic<usize>: RefUnwindSafe,
Chan<Message, Semaphore>: RefUnwindSafe,
RwLock<bool>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
impl Send for RoomSocket
impl Sync for RoomSocket
impl Unpin for RoomSocket
impl UnsafeUnpin for RoomSocketwhere
*const ArcInner<Chan<Message, Semaphore>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Chan<Message, Semaphore>>>: UnsafeUnpin,
*const ArcInner<Shared<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Shared<bool>>>: UnsafeUnpin,
impl UnwindSafe for RoomSocket
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