mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
sync: mark mpsc types as UnwindSafe (#6783)
This commit is contained in:
@@ -413,6 +413,12 @@ assert_value!(tokio::sync::mpsc::UnboundedReceiver<YY>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::UnboundedSender<NN>: !Send & !Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::UnboundedSender<YN>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::UnboundedSender<YY>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::WeakSender<NN>: !Send & !Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::WeakSender<YN>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::WeakSender<YY>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::WeakUnboundedSender<NN>: !Send & !Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::WeakUnboundedSender<YN>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::WeakUnboundedSender<YY>: Send & Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::error::SendError<NN>: !Send & !Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::error::SendError<YN>: Send & !Sync & Unpin);
|
||||
assert_value!(tokio::sync::mpsc::error::SendError<YY>: Send & Sync & Unpin);
|
||||
|
||||
Reference in New Issue
Block a user