Trait util::OptionExt [−][src]
pub trait OptionExt: OptionExtSealed {
type Inner;
fn try_get_or_insert_with<E, F: FnOnce() -> Result<Self::Inner, E>>(
&mut self,
f: F
) -> Result<&mut Self::Inner, E>;
}