Remove impl Serialize for EventResult
This commit is contained in:
parent
982d978d94
commit
85990676cd
11
src/lib.rs
11
src/lib.rs
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user