pub struct SwarmConfig {
pub star_to_tree_threshold: usize,
pub tree_fanout: usize,
pub bandwidth_per_viewer: u32,
pub keyframe_interval_ms: u32,
}Expand description
Swarm configuration
Fields§
§star_to_tree_threshold: usizeMaximum viewers before switching to tree topology
tree_fanout: usizeMaximum fan-out for tree topology
bandwidth_per_viewer: u32Bandwidth budget per viewer (bytes/second)
keyframe_interval_ms: u32Keyframe interval in milliseconds
Trait Implementations§
Source§impl Clone for SwarmConfig
impl Clone for SwarmConfig
Source§fn clone(&self) -> SwarmConfig
fn clone(&self) -> SwarmConfig
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 SwarmConfig
impl Debug for SwarmConfig
Auto Trait Implementations§
impl Freeze for SwarmConfig
impl RefUnwindSafe for SwarmConfig
impl Send for SwarmConfig
impl Sync for SwarmConfig
impl Unpin for SwarmConfig
impl UnsafeUnpin for SwarmConfig
impl UnwindSafe for SwarmConfig
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