Struct json_with_comments::ser::access::seq::SeqSerializer
source · pub struct SeqSerializer<'a, W, F>where
F: JsoncFormatter,{ /* private fields */ }
Implementations§
source§impl<'a, W, F> SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
impl<'a, W, F> SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
Trait Implementations§
source§impl<'a, W, F> SerializeSeq for SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
impl<'a, W, F> SerializeSeq for SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
§type Error = JsonWithCommentsError
type Error = JsonWithCommentsError
Must match the
Error
type of our Serializer
.source§impl<'a, W, F> SerializeTuple for SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
impl<'a, W, F> SerializeTuple for SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
§type Ok = <SeqSerializer<'a, W, F> as SerializeSeq>::Ok
type Ok = <SeqSerializer<'a, W, F> as SerializeSeq>::Ok
Must match the
Ok
type of our Serializer
.§type Error = <SeqSerializer<'a, W, F> as SerializeSeq>::Error
type Error = <SeqSerializer<'a, W, F> as SerializeSeq>::Error
Must match the
Error
type of our Serializer
.source§impl<'a, W, F> SerializeTupleStruct for SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
impl<'a, W, F> SerializeTupleStruct for SeqSerializer<'a, W, F>where
W: Write,
F: JsoncFormatter,
§type Ok = <SeqSerializer<'a, W, F> as SerializeSeq>::Ok
type Ok = <SeqSerializer<'a, W, F> as SerializeSeq>::Ok
Must match the
Ok
type of our Serializer
.§type Error = <SeqSerializer<'a, W, F> as SerializeSeq>::Error
type Error = <SeqSerializer<'a, W, F> as SerializeSeq>::Error
Must match the
Error
type of our Serializer
.Auto Trait Implementations§
impl<'a, W, F> RefUnwindSafe for SeqSerializer<'a, W, F>where
F: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, W, F> Send for SeqSerializer<'a, W, F>
impl<'a, W, F> Sync for SeqSerializer<'a, W, F>
impl<'a, W, F> Unpin for SeqSerializer<'a, W, F>
impl<'a, W, F> !UnwindSafe for SeqSerializer<'a, W, F>
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