pub struct JsonArrayEncoder { /* private fields */ }Available on crate feature
json only.Expand description
Per-stream state for JsonArrayStreamFormat.
The prologue is computed up front, in encoder, because serialising the envelope can
fail and the failure must be reported through the stream rather than panicking.
Trait Implementations§
Source§impl<T> ItemEncoder<T> for JsonArrayEncoderwhere
T: Serialize,
impl<T> ItemEncoder<T> for JsonArrayEncoderwhere
T: Serialize,
Auto Trait Implementations§
impl !RefUnwindSafe for JsonArrayEncoder
impl !UnwindSafe for JsonArrayEncoder
impl Freeze for JsonArrayEncoder
impl Send for JsonArrayEncoder
impl Sync for JsonArrayEncoder
impl Unpin for JsonArrayEncoder
impl UnsafeUnpin for JsonArrayEncoder
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