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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more