diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ pub trait DeserializeTagged: Sized + MaybeStatic pub trait ResultExt<Value, DeError> { /// Returns `Ok(None)` if `Err` is `DeserializerError::UnexpectedEvent`. + /// + /// # Errors + /// Returns `Err` if a `Deserializer` error occurs. fn try_event(self) -> Result<Option<Value>, DeserializerError<DeError>>; } |