pub struct JsonStreamParser { /* private fields */ }
Implementations§
Source§impl JsonStreamParser
impl JsonStreamParser
pub fn new() -> JsonStreamParser
pub fn with_limits( max_depth: Option<usize>, max_length: Option<usize>, ) -> JsonStreamParser
pub fn add_char(&mut self, current_char: char) -> Result<(), String>
pub fn get_result(&self) -> &Value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonStreamParser
impl RefUnwindSafe for JsonStreamParser
impl Send for JsonStreamParser
impl Sync for JsonStreamParser
impl Unpin for JsonStreamParser
impl UnwindSafe for JsonStreamParser
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