pub trait RTSPSessionPoolExtManual: Sealed + IsA<RTSPSessionPool> + 'static {
    // Provided method
    fn create_watch<F>(
        &self,
        name: Option<&str>,
        priority: Priority,
        func: F,
    ) -> Source
       where F: FnMut(&RTSPSessionPool) -> ControlFlow + Send + 'static { ... }
}

Provided Methods§

source

fn create_watch<F>( &self, name: Option<&str>, priority: Priority, func: F, ) -> Source
where F: FnMut(&RTSPSessionPool) -> ControlFlow + Send + 'static,

Create a glib::Source that will be dispatched when the session should be cleaned up.

§Returns

a glib::Source

Object Safety§

This trait is not object safe.

Implementors§