sealed traits should be feature gated too
@@ -20,6 +20,7 @@ pub(crate) mod private {
impl<T> Sealed for T where T: crate::AsOwned {}
}
+ cfg_async! {
pub(crate) mod event_marker {
pub trait Sealed {}
impl<'a, T> Sealed for T where T: crate::client::Event<'a> {}
@@ -35,6 +36,7 @@ pub(crate) mod private {
}
}
}
+}
impl AsOwned for bool {
type Owned = Self;
