This was my problem, it’s enabled by default, so double check that
This was my problem, it’s enabled by default, so double check that
SOLUTION:
Here is the solution I came up with:
pub struct Configuration {}
impl Configuration {
fn get std::str::FromStr>() -> Result {
Ok(T::from_str("1234");
}
}
fn main() {
let my_conf_val = Configuration::get();
}
Afraid this might have been the case, if Ogeon’s suggestion doesn’t work out, I’ll probably end up with multiple getters, one per type. There aren’t that many anyway
Thank you!
Correct, I would want the caller to know what they’re getting, I’ll see if this works, Thank you!
Any Ubuntu affiliated distro is required to use snaps, so Kubuntu will use them. Startup times are terrible, but running performance should be the same.
Another simple distro to try would be either Mint or Pop-OS. Both are still Ubuntu based, but without snaps
Mint’s interface (Cinnamon) is similar to Windows, Pop-OS uses a modified GNome
I’m not sure of exactly how they manage everything, but my county library system uses Debian with an XFCE interface.
Not sure if it’s because it’s been this way long enough now, or it just looks close enough to Windows, but I haven’t known anyone to complain (and my in-laws complain about everything else)
Using gnome now, but have always enjoyed Xfce. Was going to use it for my current setup, but at the time it didn’t support Wayland. It looks like it’s getting close, but not quite there yet.
Maybe once Wayland is fully supported I’ll give it a shot again.
Ha, I did the same thing. Was getting really tired of pip issues and attempting to use pyenv and messing up a lot. Figured I’d start clean.
Didn’t realize so much depended on python and ended up needing to rebuild the whole thing.
Now I don’t mess with python on my host and only use VMs for Dev or messing around.