create_instance

Function create_instance 

Source
pub fn create_instance<T>(
    conn: T,
    lib: CArc<c_void>,
    _args: &OsArgs,
) -> OsInstance<'static, CBox<'static, c_void>, CArc<c_void>>
where T: Send + 'static + Os, (T, CArc<c_void>): Into<OsInstance<'static, CBox<'static, T>, CArc<c_void>>>,
Expand description

This creates a cglue plugin instance from the given Os object. In the future this also might enable features (like caching) based on the input args.