pub struct BroadcastConfig {
pub max_subscribers_per_topic: usize,
pub max_topics: usize,
pub max_rooms: usize,
pub max_members_per_room: usize,
pub enable_filtering: bool,
pub channel_buffer_size: usize,
}Expand description
Broadcast configuration
Fields§
§max_subscribers_per_topic: usizeMaximum subscribers per topic
max_topics: usizeMaximum topics
max_rooms: usizeMaximum rooms
max_members_per_room: usizeMaximum members per room
enable_filtering: boolEnable message filtering
channel_buffer_size: usizeChannel buffer size
Trait Implementations§
Source§impl Clone for BroadcastConfig
impl Clone for BroadcastConfig
Source§fn clone(&self) -> BroadcastConfig
fn clone(&self) -> BroadcastConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BroadcastConfig
impl Debug for BroadcastConfig
Auto Trait Implementations§
impl Freeze for BroadcastConfig
impl RefUnwindSafe for BroadcastConfig
impl Send for BroadcastConfig
impl Sync for BroadcastConfig
impl Unpin for BroadcastConfig
impl UnsafeUnpin for BroadcastConfig
impl UnwindSafe for BroadcastConfig
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