temporarily add panicing Serialize impl for EventResult
This commit is contained in:
parent
9b26c60fe8
commit
516f027aca
@ -338,13 +338,14 @@ where
|
|||||||
|
|
||||||
// For now, we don't support serialization of EventResult.
|
// For now, we don't support serialization of EventResult.
|
||||||
// This is going to be added in a future version.
|
// This is going to be added in a future version.
|
||||||
/*impl<T: EventResultCompatible> Serialize for EventResult<T> {
|
impl<T: EventResultCompatible> Serialize for EventResult<T> {
|
||||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
|
||||||
where
|
where
|
||||||
S: Serializer,
|
S: Serializer,
|
||||||
{
|
{
|
||||||
|
unimplemented!("not supported yet")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}*/
|
|
||||||
|
|
||||||
/// An error when attempting to create a value from a string via the `FromStr` trait.
|
/// An error when attempting to create a value from a string via the `FromStr` trait.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user