Remove impl Serialize for EventResult

This commit is contained in:
Jonas Platte 2019-10-17 00:21:52 +02:00
parent 982d978d94
commit 85990676cd

View File

@ -345,17 +345,6 @@ where
}
}
// For now, we don't support serialization of EventResult.
// This is going to be added in a future version.
impl<T: TryFromRaw> Serialize for EventResult<T> {
fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
{
unimplemented!("not supported yet")
}
}
/// An error when attempting to create a value from a string via the `FromStr` trait.
///
/// This error type is only used for simple enums with unit variants. Event deserialization through