Enum rustc_serialize::json::JsonEvent
source · pub enum JsonEvent {
ObjectStart,
ObjectEnd,
ArrayStart,
ArrayEnd,
BooleanValue(bool),
I64Value(i64),
U64Value(u64),
F64Value(f64),
StringValue(String),
NullValue,
Error(ParserError),
}
Expand description
The output of the streaming parser.
Variants§
ObjectStart
ObjectEnd
ArrayStart
ArrayEnd
BooleanValue(bool)
I64Value(i64)
U64Value(u64)
F64Value(f64)
StringValue(String)
NullValue
Error(ParserError)
Trait Implementations§
source§impl PartialEq for JsonEvent
impl PartialEq for JsonEvent
impl StructuralPartialEq for JsonEvent
Auto Trait Implementations§
impl !RefUnwindSafe for JsonEvent
impl Send for JsonEvent
impl Sync for JsonEvent
impl Unpin for JsonEvent
impl !UnwindSafe for JsonEvent
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