pub trait Queryable<Ctx>:
Sized
+ 'static
+ Send
+ Syncwhere
Ctx: QueryContext,{
// Required method
fn try_new(
connection: &Connection,
ctx: &Arc<Ctx>,
object: &ObjectInfo,
contains_interface: &(impl Fn(&InterfaceName<'_>) -> bool + Send + Sync),
) -> impl Future<Output = Option<Self>> + Send;
}Required Methods§
fn try_new( connection: &Connection, ctx: &Arc<Ctx>, object: &ObjectInfo, contains_interface: &(impl Fn(&InterfaceName<'_>) -> bool + Send + Sync), ) -> impl Future<Output = Option<Self>> + Send
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.