pub trait ResultExtension<T> {
// Required method
fn ok_or_void(self) -> Result<T, ()>;
}Expand description
Useful to silence/convert to void some Err.
Some of my lib will probably have proper error type instead of () (Look for #proper_error to know which error type are temporary) when I will have time to add them