pub struct Listener { /* private fields */ }Expand description
A running listener of one stream. Dropping it stops listening.
Implementations§
Source§impl Listener
impl Listener
pub fn start(config: ListenerConfig, clock: Arc<MediaClock>) -> Result<Self>
pub fn stats(&self) -> ListenerStats
Auto Trait Implementations§
impl !RefUnwindSafe for Listener
impl !UnwindSafe for Listener
impl Freeze for Listener
impl Send for Listener
impl Sync for Listener
impl Unpin for Listener
impl UnsafeUnpin for Listener
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