pub struct SwarmStats {
pub updates_sent: u64,
pub bytes_sent: u64,
pub peak_viewers: u32,
pub total_viewers: u32,
pub duration_seconds: u32,
}Expand description
Swarm statistics
Fields§
§updates_sent: u64Total updates sent
bytes_sent: u64Total bytes sent
peak_viewers: u32Peak viewer count
total_viewers: u32Total unique viewers
duration_seconds: u32Stream duration in seconds
Implementations§
Source§impl SwarmStats
impl SwarmStats
Trait Implementations§
Source§impl Clone for SwarmStats
impl Clone for SwarmStats
Source§fn clone(&self) -> SwarmStats
fn clone(&self) -> SwarmStats
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 SwarmStats
impl Debug for SwarmStats
Source§impl Default for SwarmStats
impl Default for SwarmStats
Source§fn default() -> SwarmStats
fn default() -> SwarmStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SwarmStats
impl RefUnwindSafe for SwarmStats
impl Send for SwarmStats
impl Sync for SwarmStats
impl Unpin for SwarmStats
impl UnsafeUnpin for SwarmStats
impl UnwindSafe for SwarmStats
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