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

Required Methods§

source

fn max_threads(&self) -> i32

source

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

Implementors§