pub struct LowLevelJsonParserResult<'a> {
pub consumed_bytes: usize,
pub event: Option<Result<JsonEvent<'a>, JsonSyntaxError>>,
}
Expand description
Result of LowLevelJsonParser::parse_next
.
Fields§
§consumed_bytes: usize
How many bytes have been read from input_buffer
and should be removed from it.
event: Option<Result<JsonEvent<'a>, JsonSyntaxError>>
A possible new event
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LowLevelJsonParserResult<'a>
impl<'a> RefUnwindSafe for LowLevelJsonParserResult<'a>
impl<'a> Send for LowLevelJsonParserResult<'a>
impl<'a> Sync for LowLevelJsonParserResult<'a>
impl<'a> Unpin for LowLevelJsonParserResult<'a>
impl<'a> UnwindSafe for LowLevelJsonParserResult<'a>
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