This commit is contained in:
Greg Johnston 2024-05-20 21:09:17 -04:00
parent 2037a6966a
commit 83c9edde26

View file

@ -99,7 +99,9 @@ impl<T: Send + Sync + Clone + Serialize> Serialize for Signal<T> {
/* Deserialization for signal types */
impl<'de, T: Send + Sync + Deserialize<'de>> Deserialize<'de> for RwSignal<T> {
impl<'de, T: Send + Sync + Deserialize<'de> + 'static> Deserialize<'de>
for RwSignal<T>
{
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,