Enum rustc_serialize::json::JsonEvent [−][src]
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
BooleanValue(bool)I64Value(i64)U64Value(u64)F64Value(f64)StringValue(String)Error(ParserError)Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsonEventimpl UnwindSafe for JsonEventBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes