pub enum Parsed {
Known(Event),
Unknown,
}Expand description
The result of decoding an event: known, or an unknown type that the client ignores
while still advancing the stream’s cursor by its sequence (§9.4). Events in reserved
namespaces (§13) are unknown too.
Variants§
Trait Implementations§
impl StructuralPartialEq for Parsed
Auto Trait Implementations§
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more