pub struct GeminiStreamJsonParser;Implementations§
Source§impl GeminiStreamJsonParser
impl GeminiStreamJsonParser
pub fn new() -> Self
pub fn parse_line( &mut self, line: &str, ) -> Result<Option<GeminiStreamJsonEvent>, GeminiStreamJsonError>
pub fn parse_json( &mut self, value: &Value, ) -> Result<Option<GeminiStreamJsonEvent>, GeminiStreamJsonError>
Trait Implementations§
Source§impl Clone for GeminiStreamJsonParser
impl Clone for GeminiStreamJsonParser
Source§fn clone(&self) -> GeminiStreamJsonParser
fn clone(&self) -> GeminiStreamJsonParser
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeminiStreamJsonParser
impl Debug for GeminiStreamJsonParser
Source§impl Default for GeminiStreamJsonParser
impl Default for GeminiStreamJsonParser
Source§fn default() -> GeminiStreamJsonParser
fn default() -> GeminiStreamJsonParser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GeminiStreamJsonParser
impl RefUnwindSafe for GeminiStreamJsonParser
impl Send for GeminiStreamJsonParser
impl Sync for GeminiStreamJsonParser
impl Unpin for GeminiStreamJsonParser
impl UnsafeUnpin for GeminiStreamJsonParser
impl UnwindSafe for GeminiStreamJsonParser
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