We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f1ac6 commit 7c72329Copy full SHA for 7c72329
src/sync/channel.rs
@@ -983,6 +983,8 @@ impl<T> Drop for Channel<T> {
983
}
984
985
/// An error returned from the `try_send` method.
986
+#[cfg(feature = "unstable")]
987
+#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
988
pub enum TrySendError<T> {
989
/// The channel is full but not disconnected.
990
Full(T),
@@ -1012,6 +1014,8 @@ impl<T> Display for TrySendError<T> {
1012
1014
1013
1015
1016
/// An error returned from the `try_recv` method.
1017
1018
1019
#[derive(Debug)]
1020
pub enum TryRecvError {
1021
/// The channel is empty but not disconnected.
0 commit comments