Skip to main content

ThreadedSocketServiceExt

Trait ThreadedSocketServiceExt 

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

Provided Methods§

Source

fn max_threads(&self) -> i32

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§