pub fn put(&self, value: Arc<T>) {
        unsafe {
            let old = self.state.swap(Arc::into_raw(value) as *mut T, AcqRel);
            let old_arc = Arc::from_raw(old);
            drop(old_arc);
        }
    }
/// Write a new value without verifying the existing value.
Write a new value without verifying the existing value.
Write a new value without verifying the existing value .
pub fn put(&self, value: Arc<T>) {
        unsafe {
            let old = self.state.swap(Arc::into_raw(value) as *mut T, AcqRel);
            let old_arc = Arc::from_raw(old);
            drop(old_arc);
        }
    }
pub fn put ( & self , value : Arc < T > ) { unsafe { let old = self . state . swap ( Arc :: into_raw ( value ) as * mut T , AcqRel ) ; let old_arc = Arc :: from_raw ( old ) ; drop ( old_arc ) ; } }
Write a new value without verifying the existing value.
Write a new value without verifying the existing value .
&self
value
Arc<T>