Lines Matching refs:RwLock
311 pub struct RwLock<R, T: ?Sized> { struct
318 impl<R, T> Serialize for RwLock<R, T> argument
332 impl<'de, R, T> Deserialize<'de> for RwLock<R, T> implementation
341 Deserialize::deserialize(deserializer).map(RwLock::new) in deserialize()
345 unsafe impl<R: RawRwLock + Send, T: ?Sized + Send> Send for RwLock<R, T> {} implementation
346 unsafe impl<R: RawRwLock + Sync, T: ?Sized + Send + Sync> Sync for RwLock<R, T> {} implementation
348 impl<R: RawRwLock, T> RwLock<R, T> { impl
352 pub const fn new(val: T) -> RwLock<R, T> { in new()
353 RwLock { in new()
362 pub fn new(val: T) -> RwLock<R, T> { in new()
363 RwLock { in new()
377 impl<R, T> RwLock<R, T> { implementation
384 pub const fn const_new(raw_rwlock: R, val: T) -> RwLock<R, T> { in const_new()
385 RwLock { in const_new()
392 impl<R: RawRwLock, T: ?Sized> RwLock<R, T> { implementation
562 impl<R: RawRwLockFair, T: ?Sized> RwLock<R, T> { impl
596 impl<R: RawRwLockTimed, T: ?Sized> RwLock<R, T> { impl
662 impl<R: RawRwLockRecursive, T: ?Sized> RwLock<R, T> { implementation
706 impl<R: RawRwLockRecursiveTimed, T: ?Sized> RwLock<R, T> { impl
750 impl<R: RawRwLockUpgrade, T: ?Sized> RwLock<R, T> { implementation
796 impl<R: RawRwLockUpgradeTimed, T: ?Sized> RwLock<R, T> { implementation
836 impl<R: RawRwLock, T: ?Sized + Default> Default for RwLock<R, T> { implementation
838 fn default() -> RwLock<R, T> { in default()
839 RwLock::new(Default::default()) in default()
843 impl<R: RawRwLock, T> From<T> for RwLock<R, T> { implementation
845 fn from(t: T) -> RwLock<R, T> { in from()
846 RwLock::new(t) in from()
850 impl<R: RawRwLock, T: ?Sized + fmt::Debug> fmt::Debug for RwLock<R, T> { implementation
874 rwlock: &'a RwLock<R, T>,
880 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock()
1048 rwlock: &'a RwLock<R, T>,
1054 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock()
1269 rwlock: &'a RwLock<R, T>,
1280 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock()