pub trait RTSPSessionPoolExtManual: 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§
Sourcefn create_watch<F>(
&self,
name: Option<&str>,
priority: Priority,
func: F,
) -> Source
fn create_watch<F>( &self, name: Option<&str>, priority: Priority, func: F, ) -> Source
Create a glib::Source
that will be dispatched when the session should be cleaned
up.
§Returns
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.