pub fn with_latest<U, F: FnOnce(&T) -> U>(&self, action: F) -> U {
        self.ensure_latest();
        let the_ref = self.current_holder.borrow();
        action(&***the_ref)
    }
/// Passes a reference to the latest version of the contained data to the provided
/// function and returns it result.
///
/// This is the mechanism for read access to the data.
Passes a reference to the latest version of the contained data to the provided
function and returns it result.

This is the mechanism for read access to the data.
Passes a reference to the latest version of the contained data to the provided function and returns it result . This is the mechanism for read access to the data .
pub fn with_latest<U, F: FnOnce(&T) -> U>(&self, action: F) -> U {
        self.ensure_latest();
        let the_ref = self.current_holder.borrow();
        action(&***the_ref)
    }
pub fn with_latest < U , F : FnOnce ( & T ) -> U > ( & self , action : F ) -> U { self . ensure_latest ( ) ; let the_ref = self . current_holder . borrow ( ) ; action ( & * * * the_ref ) }
Passes a reference to the latest version of the contained data to the provided
function and returns it result.
Passes a reference to the latest version of the contained data to the provided function and returns it result .
&self
action
F
&self
action
F