ThreadedSocketServiceExt

Trait ThreadedSocketServiceExt 

Source
pub trait ThreadedSocketServiceExt: IsA<ThreadedSocketService> + 'static {
    // Provided methods
    fn max_threads(&self) -> i32 { ... }
    fn connect_run<F: Fn(&Self, &SocketConnection, Option<&Object>) -> bool + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn max_threads(&self) -> i32

Source

fn connect_run<F: Fn(&Self, &SocketConnection, Option<&Object>) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId

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.

Implementors§