pub mod client_hasher; pub(crate) trait OptionExt { fn get_or_init(&mut self) -> &mut T; } impl OptionExt for Option> { fn get_or_init(&mut self) -> &mut T { self.get_or_insert_with(|| Box::new(T::default())) } }