pub struct JsonWriter<W: Write> { /* private fields */ }
Implementations§
Source§impl<W: Write> JsonWriter<W>
impl<W: Write> JsonWriter<W>
pub fn from_writer(writer: W) -> Self
pub fn write_event(&mut self, event: JsonEvent<'_>) -> Result<()>
Auto Trait Implementations§
impl<W> Freeze for JsonWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for JsonWriter<W>where
W: RefUnwindSafe,
impl<W> Send for JsonWriter<W>where
W: Send,
impl<W> Sync for JsonWriter<W>where
W: Sync,
impl<W> Unpin for JsonWriter<W>where
W: Unpin,
impl<W> UnwindSafe for JsonWriter<W>where
W: UnwindSafe,
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