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();
}
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!
Self hoster of Invidious, I’ve just setup a docker instance with a Watchtower docker container running too for auto updates. No real maintenance needed.
NewPipe on Android
There are definitely times where things will stop working for a bit (due to Google shananagans) but the devs seem on top of it. So it doesn’t take too long before it’s working again.
Call me a socialist, but the moment the tech was proven either the US or some UN based org should have eminent domained and brought Starlink.
That way there wouldn’t be multiple companies sending tens of thousands of satellites into space. And hypothetically there would be a greater expectation of equal access. Oh and access wouldn’t be at the whim of a pretty billionaire.