pub fn load(&self) -> ArcCellGuard<T> {
        ArcCellGuard {
            parent: self,
            inner: crossbeam_epoch::pin(),
        }
    }
/// Load the current value from the ArcCell.
///
/// This returns an ArcCell guard, rather than returning the
/// internal value directly. In order to access the value explicitly,
/// it must be dereferenced.
///
/// # Example
/// ```
/// # use crossbeam_arccell::ArcCell;
/// let arc = ArcCell::new(vec![1,2,3,4]);
/// let guard = arc.load();
/// assert_eq!(*guard, vec![1,2,3,4]);
/// ```
///
/// # Warning
/// This method returns a guard that will pin the current thread, but
/// won't directly hold on to a particular value. This means that even
/// though `load()` has been called, it's not a guarantee that the data
/// won't change between dereferences. As an example,
///
/// ```
/// # use crossbeam_arccell::ArcCell;
/// let arc = ArcCell::new(vec![1,2,3,4]);
/// let guard = arc.load();
/// assert_eq!(*guard, vec![1,2,3,4]);
/// arc.set(vec![9,8,7,6]);
/// assert_eq!(*guard, vec![9,8,7,6]);
/// ```
Load the current value from the ArcCell.
This returns an ArcCell guard, rather than returning the
internal value directly. In order to access the value explicitly,
it must be dereferenced.
Load the current value from the ArcCell . This returns an ArcCell guard rather than returning the internal value directly . In order to access the value explicitly it must be dereferenced .
pub fn load(&self) -> ArcCellGuard<T> {
        ArcCellGuard {
            parent: self,
            inner: crossbeam_epoch::pin(),
        }
    }
pub fn load ( & self ) -> ArcCellGuard < T > { ArcCellGuard { parent : self , inner : crossbeam_epoch :: pin ( ) , } }
Load the current value from the ArcCell.
Load the current value from the ArcCell .
&self
&self
example
None
use crossbeam_arccell::arccell;
None
warning
This method returns a guard that will pin the current thread, but
won't directly hold on to a particular value. This means that even
though `load()` has been called, it's not a guarantee that the data
won't change between dereferences. As an example.


This method returns a guard that will pin the current thread but won ' t directly hold on to a particular value . This means that even though ` load () ` has been called it ' s not a guarantee that the data won ' t change between dereferences . As an example .
use crossbeam_arccell::arccell;
None