rust/src/libstd/sync
kennytm 2f012e4405 Rollup merge of #45506 - ia0:mpsc_recv_error_from, r=alexcrichton
Implement From<RecvError> for TryRecvError and RecvTimeoutError

According to the documentation, it looks to me that `TryRecvError` and `RecvTimeoutError` are strict extensions of `RecvError`. As such, it makes sense to allow conversion from the latter type to the two former types without constraining future developments.

This permits to write `input.recv()?` and `input.recv_timeout(timeout)?` in the same function for example.
2017-11-28 03:16:41 +08:00
..
mpsc Implement From<SendError<T>> for TrySendError<T> 2017-10-31 00:18:53 +01:00
barrier.rs Use explicit wrapping_add to prevent potential unexpected behavior on debug builds 2017-08-08 22:58:09 +02:00
condvar.rs Fix condvar.wait(distant future) return immediately on OSX 2017-06-15 21:20:02 +01:00
mod.rs std: Clean out deprecated APIs 2016-07-12 12:51:13 -07:00
mutex.rs impl From<T> for Mutex<T> 2017-11-18 16:52:46 +00:00
once.rs Bump to 1.23 and update bootstrap 2017-10-26 13:59:18 -07:00
rwlock.rs impl From<T> for RwLock<T> 2017-11-18 21:05:06 +00:00