Searched defs:SyncWrapper (Results 1 – 4 of 4) sorted by relevance
6 pub(crate) struct SyncWrapper<T> { struct10 // safety: The SyncWrapper being send allows you to send the inner value across argument12 unsafe impl<T: Send> Send for SyncWrapper<T> {} implementation16 unsafe impl<T> Sync for SyncWrapper<T> {} implementation18 impl<T> SyncWrapper<T> { impl
44 pub(crate) struct SyncWrapper<T>(T); struct46 impl<T> SyncWrapper<T> { implementation110 unsafe impl<T: Send> Sync for SyncWrapper<T> {} 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
4 # SyncWrapper chapter