[−][src]Trait erased_serde_json::ser::Formatter
Required methods
fn erased_write_null(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_write_bool(
&mut self,
writer: &mut dyn Write,
value: bool
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: bool
) -> Result<(), Error>
fn erased_write_i8(
&mut self,
writer: &mut dyn Write,
value: i8
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: i8
) -> Result<(), Error>
fn erased_write_i16(
&mut self,
writer: &mut dyn Write,
value: i16
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: i16
) -> Result<(), Error>
fn erased_write_i32(
&mut self,
writer: &mut dyn Write,
value: i32
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: i32
) -> Result<(), Error>
fn erased_write_i64(
&mut self,
writer: &mut dyn Write,
value: i64
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: i64
) -> Result<(), Error>
fn erased_write_u8(
&mut self,
writer: &mut dyn Write,
value: u8
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: u8
) -> Result<(), Error>
fn erased_write_u16(
&mut self,
writer: &mut dyn Write,
value: u16
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: u16
) -> Result<(), Error>
fn erased_write_u32(
&mut self,
writer: &mut dyn Write,
value: u32
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: u32
) -> Result<(), Error>
fn erased_write_u64(
&mut self,
writer: &mut dyn Write,
value: u64
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: u64
) -> Result<(), Error>
fn erased_write_f32(
&mut self,
writer: &mut dyn Write,
value: f32
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: f32
) -> Result<(), Error>
fn erased_write_f64(
&mut self,
writer: &mut dyn Write,
value: f64
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
value: f64
) -> Result<(), Error>
fn erased_begin_string(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_end_string(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_write_string_fragment(
&mut self,
writer: &mut dyn Write,
fragment: &str
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
fragment: &str
) -> Result<(), Error>
fn erased_write_char_escape(
&mut self,
writer: &mut dyn Write,
char_escape: CharEscape
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
char_escape: CharEscape
) -> Result<(), Error>
fn erased_begin_array(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_end_array(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_begin_array_value(
&mut self,
writer: &mut dyn Write,
first: bool
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
first: bool
) -> Result<(), Error>
fn erased_end_array_value(
&mut self,
writer: &mut dyn Write
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write
) -> Result<(), Error>
fn erased_begin_object(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_end_object(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_begin_object_key(
&mut self,
writer: &mut dyn Write,
first: bool
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write,
first: bool
) -> Result<(), Error>
fn erased_end_object_key(&mut self, writer: &mut dyn Write) -> Result<(), Error>
fn erased_begin_object_value(
&mut self,
writer: &mut dyn Write
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write
) -> Result<(), Error>
fn erased_end_object_value(
&mut self,
writer: &mut dyn Write
) -> Result<(), Error>
&mut self,
writer: &mut dyn Write
) -> Result<(), Error>
Trait Implementations
impl<'a> Formatter for dyn Formatter
[src]
fn write_null<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_bool<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
fn write_i8<W: ?Sized + Write>(&mut self, w: &mut W, v: i8) -> Result<(), Error>
[src]
fn write_i16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
fn write_i32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
fn write_i64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
fn write_u8<W: ?Sized + Write>(&mut self, w: &mut W, v: u8) -> Result<(), Error>
[src]
fn write_u16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
fn write_u32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
fn write_u64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
fn write_f32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
fn write_f64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
fn begin_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_string_fragment<W: ?Sized + Write>(
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
fn write_char_escape<W: ?Sized + Write>(
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
fn begin_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_array_value<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_array_value<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_key<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_object_key<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn end_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn write_number_str<W>(
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a number that has already been rendered to a string.
fn write_raw_fragment<W>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a raw JSON fragment that doesn't need any escaping to the specified writer. Read more
impl<'a> Formatter for &'a mut dyn Formatter
[src]
fn write_null<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_bool<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
fn write_i8<W: ?Sized + Write>(&mut self, w: &mut W, v: i8) -> Result<(), Error>
[src]
fn write_i16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
fn write_i32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
fn write_i64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
fn write_u8<W: ?Sized + Write>(&mut self, w: &mut W, v: u8) -> Result<(), Error>
[src]
fn write_u16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
fn write_u32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
fn write_u64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
fn write_f32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
fn write_f64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
fn begin_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_string_fragment<W: ?Sized + Write>(
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
fn write_char_escape<W: ?Sized + Write>(
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
fn begin_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_array_value<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_array_value<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_key<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_object_key<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn end_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn write_number_str<W>(
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a number that has already been rendered to a string.
fn write_raw_fragment<W>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a raw JSON fragment that doesn't need any escaping to the specified writer. Read more
impl<'a> Formatter for &'a mut (dyn Formatter + Send)
[src]
fn write_null<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_bool<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
fn write_i8<W: ?Sized + Write>(&mut self, w: &mut W, v: i8) -> Result<(), Error>
[src]
fn write_i16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
fn write_i32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
fn write_i64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
fn write_u8<W: ?Sized + Write>(&mut self, w: &mut W, v: u8) -> Result<(), Error>
[src]
fn write_u16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
fn write_u32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
fn write_u64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
fn write_f32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
fn write_f64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
fn begin_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_string_fragment<W: ?Sized + Write>(
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
fn write_char_escape<W: ?Sized + Write>(
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
fn begin_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_array_value<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_array_value<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_key<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_object_key<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn end_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn write_number_str<W>(
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a number that has already been rendered to a string.
fn write_raw_fragment<W>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a raw JSON fragment that doesn't need any escaping to the specified writer. Read more
impl<'a> Formatter for &'a mut (dyn Formatter + Sync)
[src]
fn write_null<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_bool<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
fn write_i8<W: ?Sized + Write>(&mut self, w: &mut W, v: i8) -> Result<(), Error>
[src]
fn write_i16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
fn write_i32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
fn write_i64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
fn write_u8<W: ?Sized + Write>(&mut self, w: &mut W, v: u8) -> Result<(), Error>
[src]
fn write_u16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
fn write_u32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
fn write_u64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
fn write_f32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
fn write_f64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
fn begin_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_string_fragment<W: ?Sized + Write>(
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
fn write_char_escape<W: ?Sized + Write>(
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
fn begin_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_array_value<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_array_value<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_key<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_object_key<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn end_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn write_number_str<W>(
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a number that has already been rendered to a string.
fn write_raw_fragment<W>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a raw JSON fragment that doesn't need any escaping to the specified writer. Read more
impl<'a> Formatter for &'a mut (dyn Formatter + Send + Sync)
[src]
fn write_null<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_bool<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: bool
) -> Result<(), Error>
fn write_i8<W: ?Sized + Write>(&mut self, w: &mut W, v: i8) -> Result<(), Error>
[src]
fn write_i16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i16
) -> Result<(), Error>
fn write_i32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i32
) -> Result<(), Error>
fn write_i64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: i64
) -> Result<(), Error>
fn write_u8<W: ?Sized + Write>(&mut self, w: &mut W, v: u8) -> Result<(), Error>
[src]
fn write_u16<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u16
) -> Result<(), Error>
fn write_u32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u32
) -> Result<(), Error>
fn write_u64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: u64
) -> Result<(), Error>
fn write_f32<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f32
) -> Result<(), Error>
fn write_f64<W: ?Sized + Write>(
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
v: f64
) -> Result<(), Error>
fn begin_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_string<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn write_string_fragment<W: ?Sized + Write>(
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
fragment: &str
) -> Result<(), Error>
fn write_char_escape<W: ?Sized + Write>(
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
char_escape: CharEscape
) -> Result<(), Error>
fn begin_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_array<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_array_value<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_array_value<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn end_object<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_key<W: ?Sized + Write>(
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut W,
first: bool
) -> Result<(), Error>
fn end_object_key<W: ?Sized + Write>(&mut self, w: &mut W) -> Result<(), Error>
[src]
fn begin_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn end_object_value<W: ?Sized + Write>(
&mut self,
w: &mut W
) -> Result<(), Error>
[src]
&mut self,
w: &mut W
) -> Result<(), Error>
fn write_number_str<W>(
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
value: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a number that has already been rendered to a string.
fn write_raw_fragment<W>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<(), Error> where
W: Write + ?Sized,
Writes a raw JSON fragment that doesn't need any escaping to the specified writer. Read more
Implementors
impl<T> Formatter for T where
T: Formatter,
[src]
T: Formatter,
fn erased_write_null(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_write_bool(&mut self, w: &mut dyn Write, v: bool) -> Result<(), Error>
[src]
fn erased_write_i8(&mut self, w: &mut dyn Write, v: i8) -> Result<(), Error>
[src]
fn erased_write_i16(&mut self, w: &mut dyn Write, v: i16) -> Result<(), Error>
[src]
fn erased_write_i32(&mut self, w: &mut dyn Write, v: i32) -> Result<(), Error>
[src]
fn erased_write_i64(&mut self, w: &mut dyn Write, v: i64) -> Result<(), Error>
[src]
fn erased_write_u8(&mut self, w: &mut dyn Write, v: u8) -> Result<(), Error>
[src]
fn erased_write_u16(&mut self, w: &mut dyn Write, v: u16) -> Result<(), Error>
[src]
fn erased_write_u32(&mut self, w: &mut dyn Write, v: u32) -> Result<(), Error>
[src]
fn erased_write_u64(&mut self, w: &mut dyn Write, v: u64) -> Result<(), Error>
[src]
fn erased_write_f32(&mut self, w: &mut dyn Write, v: f32) -> Result<(), Error>
[src]
fn erased_write_f64(&mut self, w: &mut dyn Write, v: f64) -> Result<(), Error>
[src]
fn erased_begin_string(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_end_string(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_write_string_fragment(
&mut self,
w: &mut dyn Write,
fragment: &str
) -> Result<(), Error>
[src]
&mut self,
w: &mut dyn Write,
fragment: &str
) -> Result<(), Error>
fn erased_write_char_escape(
&mut self,
w: &mut dyn Write,
char_escape: CharEscape
) -> Result<(), Error>
[src]
&mut self,
w: &mut dyn Write,
char_escape: CharEscape
) -> Result<(), Error>
fn erased_begin_array(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_end_array(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_begin_array_value(
&mut self,
w: &mut dyn Write,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut dyn Write,
first: bool
) -> Result<(), Error>
fn erased_end_array_value(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_begin_object(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_end_object(&mut self, w: &mut dyn Write) -> Result<(), Error>
[src]
fn erased_begin_object_key(
&mut self,
w: &mut dyn Write,
first: bool
) -> Result<(), Error>
[src]
&mut self,
w: &mut dyn Write,
first: bool
) -> Result<(), Error>