pub struct WsIoServerNamespaceBroadcastOperator { /* private fields */ }Implementations§
Source§impl WsIoServerNamespaceBroadcastOperator
impl WsIoServerNamespaceBroadcastOperator
pub async fn disconnect(&self) -> Result<()>
pub async fn emit<D: Serialize>( &self, event: impl AsRef<str>, data: Option<&D>, ) -> Result<()>
pub fn except<I: IntoIterator<Item = S>, S: AsRef<str>>( self, room_names: I, ) -> Self
pub fn except_connection_ids<I: IntoIterator<Item = u64>>( self, connection_ids: I, ) -> Self
pub fn to<I: IntoIterator<Item = S>, S: AsRef<str>>(self, room_names: I) -> Self
Auto Trait Implementations§
impl Freeze for WsIoServerNamespaceBroadcastOperator
impl !RefUnwindSafe for WsIoServerNamespaceBroadcastOperator
impl Send for WsIoServerNamespaceBroadcastOperator
impl Sync for WsIoServerNamespaceBroadcastOperator
impl Unpin for WsIoServerNamespaceBroadcastOperator
impl !UnwindSafe for WsIoServerNamespaceBroadcastOperator
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