pub fn or_try_resolve_mut(
        self,
        mut closure: impl FnMut() -> Result<Option<V>, String>,
    ) -> Result<Option<V>, String> {
        match self {
            Synchronization::Some(v) => Ok(Some(v)),
            Synchronization::None => Ok(None),
            Synchronization::NotMappedYet => closure(),
        }
    }
/**
     * Either return an Option for Some or None; or return Option from Provided closure.
     */
Either return an Option for Some or None; or return Option from Provided closure.
Either return an Option for Some or None ; or return Option from Provided closure .
pub fn or_try_resolve_mut(
        self,
        mut closure: impl FnMut() -> Result<Option<V>, String>,
    ) -> Result<Option<V>, String> {
        match self {
            Synchronization::Some(v) => Ok(Some(v)),
            Synchronization::None => Ok(None),
            Synchronization::NotMappedYet => closure(),
        }
    }
pub fn or_try_resolve_mut ( self , mut closure : impl FnMut ( ) -> Result < Option < V > , String > , ) -> Result < Option < V > , String > { match self { Synchronization :: Some ( v ) => Ok ( Some ( v ) ) , Synchronization :: None => Ok ( None ) , Synchronization :: NotMappedYet => closure ( ) , } }
Either return an Option for Some or None; or return Option from Provided closure.
Either return an Option for Some or None ; or return Option from Provided closure .
self
closure
impl FnMut() -> Result<Option<V>, String>
self
closure
impl FnMut() -> Result<Option<V>, String>