Searched defs:SyncWrapper (Results 1 – 4 of 4) sorted by relevance
8 pub(crate) struct SyncWrapper<T> { struct12 // safety: The SyncWrapper being send allows you to send the inner value across argument14 unsafe impl<T: Send> Send for SyncWrapper<T> {} implementation18 unsafe impl<T> Sync for SyncWrapper<T> {} implementation20 impl<T> SyncWrapper<T> { impl30 impl SyncWrapper<Box<dyn Any + Send>> { implementation
73 pub struct SyncWrapper<T>(T); struct75 impl<T> SyncWrapper<T> { impl171 unsafe impl<T> Sync for SyncWrapper<T> {} implementation173 impl<T> Debug for SyncWrapper<T> { implementation179 impl<T: Default> Default for SyncWrapper<T> { implementation185 impl<T> From<T> for SyncWrapper<T> { implementation
44 pub(crate) struct SyncWrapper<T>(T); struct46 impl<T> SyncWrapper<T> { impl110 unsafe impl<T: Send> Sync for SyncWrapper<T> {} implementation
4 # SyncWrapper chapter