I’m trying to create a “internal implementation only” solution using generics and traits.
The logic works fine but it seems I can’t export the “wrapper” struct that uses the internal implementations sort of as-needed without making those implementation structs also fully public.
Example at https://github.com/almindor/rust_example_ws (needs sep. crate to be vibisle, playground wouldn’t work for this).
is private in main on line 6
I’m not sure why this doesn’t allow keeping the
ImplementorCrateOnly as crate-only given there are no entry-points to allow accessing the value behind the
ImplementorCrateOnly type anywhere inside