Trait ThreadedSocketServiceExt

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

Required Methods§

Source

fn get_property_max_threads(&self) -> i32

Source

fn connect_run<F: Fn(&Self, &SocketConnection, &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§