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§
fn get_property_max_threads(&self) -> i32
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.