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.
MaybeSend
1 parent f2fd010 commit 72ac247Copy full SHA for 72ac247
src/types.rs
@@ -120,6 +120,7 @@ pub trait MaybeSend: Send {}
120
#[cfg(feature = "send")]
121
impl<T: Send> MaybeSend for T {}
122
123
+/// A trait that adds `Send` requirement if `send` feature is enabled.
124
#[cfg(not(feature = "send"))]
125
pub trait MaybeSend {}
126
0 commit comments