pub struct PublisherStats { /* private fields */ }Expand description
RAII broadcast guard for the publisher role. See BroadcastStats::publisher.
Implementations§
Source§impl PublisherStats
impl PublisherStats
Sourcepub fn track(&self, name: &str) -> PublisherTrack
pub fn track(&self, name: &str) -> PublisherTrack
Open a track-subscription guard. Bumps subscriptions on every level
and (on the 0->N transition in any role) spawns the level’s snapshot
task. Drop bumps subscriptions_closed.
Trait Implementations§
Source§impl Drop for PublisherStats
impl Drop for PublisherStats
Auto Trait Implementations§
impl Freeze for PublisherStats
impl RefUnwindSafe for PublisherStats
impl Send for PublisherStats
impl Sync for PublisherStats
impl Unpin for PublisherStats
impl UnsafeUnpin for PublisherStats
impl UnwindSafe for PublisherStats
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