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 fce4cfa commit ded088fCopy full SHA for ded088f
src/sync/channel.rs
@@ -979,6 +979,8 @@ impl<T> Drop for Channel<T> {
979
}
980
981
/// An error returned from the `try_send` method.
982
+#[cfg(feature = "unstable")]
983
+#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
984
pub enum TrySendError<T> {
985
/// The channel is full but not disconnected.
986
Full(T),
@@ -1008,6 +1010,8 @@ impl<T> Display for TrySendError<T> {
1008
1010
1009
1011
1012
/// An error returned from the `try_recv` method.
1013
1014
1015
#[derive(Debug)]
1016
pub enum TryRecvError {
1017
/// The channel is empty but not disconnected.
0 commit comments