Enum Atomic
discrimination::split_either
pub enum Atomic {}
impl<T: ?Sized> Sharing<T> for Atomic
type Shared = Arc<RwLock<T>>
fn create(v: T) -> Arc<RwLock<T>> where T: Sized,
fn modify<R, F>(this: &Arc<RwLock<T>>, f: F) -> R where F: FnOnce(&mut T) -> R,
fn inspect<R, F>(this: &Arc<RwLock<T>>, f: F) -> R where F: FnOnce(&T) -> R,