Trait erased_serde_json::ser::Formatter [] [src]

pub trait Formatter {
    fn erased_write_null(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_write_bool(
        &mut self,
        writer: &mut Write,
        value: bool
    ) -> Result<(), Error>;
fn erased_write_i8(
        &mut self,
        writer: &mut Write,
        value: i8
    ) -> Result<(), Error>;
fn erased_write_i16(
        &mut self,
        writer: &mut Write,
        value: i16
    ) -> Result<(), Error>;
fn erased_write_i32(
        &mut self,
        writer: &mut Write,
        value: i32
    ) -> Result<(), Error>;
fn erased_write_i64(
        &mut self,
        writer: &mut Write,
        value: i64
    ) -> Result<(), Error>;
fn erased_write_u8(
        &mut self,
        writer: &mut Write,
        value: u8
    ) -> Result<(), Error>;
fn erased_write_u16(
        &mut self,
        writer: &mut Write,
        value: u16
    ) -> Result<(), Error>;
fn erased_write_u32(
        &mut self,
        writer: &mut Write,
        value: u32
    ) -> Result<(), Error>;
fn erased_write_u64(
        &mut self,
        writer: &mut Write,
        value: u64
    ) -> Result<(), Error>;
fn erased_write_f32(
        &mut self,
        writer: &mut Write,
        value: f32
    ) -> Result<(), Error>;
fn erased_write_f64(
        &mut self,
        writer: &mut Write,
        value: f64
    ) -> Result<(), Error>;
fn erased_begin_string(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_end_string(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_write_string_fragment(
        &mut self,
        writer: &mut Write,
        fragment: &str
    ) -> Result<(), Error>;
fn erased_write_char_escape(
        &mut self,
        writer: &mut Write,
        char_escape: CharEscape
    ) -> Result<(), Error>;
fn erased_begin_array(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_end_array(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_begin_array_value(
        &mut self,
        writer: &mut Write,
        first: bool
    ) -> Result<(), Error>;
fn erased_end_array_value(
        &mut self,
        writer: &mut Write
    ) -> Result<(), Error>;
fn erased_begin_object(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_end_object(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_begin_object_key(
        &mut self,
        writer: &mut Write,
        first: bool
    ) -> Result<(), Error>;
fn erased_end_object_key(&mut self, writer: &mut Write) -> Result<(), Error>;
fn erased_begin_object_value(
        &mut self,
        writer: &mut Write
    ) -> Result<(), Error>;
fn erased_end_object_value(
        &mut self,
        writer: &mut Write
    ) -> Result<(), Error>; }

Required Methods

Trait Implementations

impl<'a> Formatter for Formatter
[src]

[src]

Writes a null value to the specified writer.

[src]

Writes a true or false value to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Called before each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Called after each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Writes a string fragment that doesn't need any escaping to the specified writer. Read more

[src]

Writes a character escape code to the specified writer.

[src]

Called before every array. Writes a [ to the specified writer. Read more

[src]

Called after every array. Writes a ] to the specified writer. Read more

[src]

Called before every array value. Writes a , if needed to the specified writer. Read more

[src]

Called after every array value.

[src]

Called before every object. Writes a { to the specified writer. Read more

[src]

Called after every object. Writes a } to the specified writer. Read more

[src]

Called before every object key.

[src]

Called after every object key. A : should be written to the specified writer by either this method or begin_object_value. Read more

[src]

Called before every object value. A : should be written to the specified writer by either this method or end_object_key. Read more

[src]

Called after every object value.

impl<'a> Formatter for &'a mut Formatter
[src]

[src]

Writes a null value to the specified writer.

[src]

Writes a true or false value to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Called before each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Called after each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Writes a string fragment that doesn't need any escaping to the specified writer. Read more

[src]

Writes a character escape code to the specified writer.

[src]

Called before every array. Writes a [ to the specified writer. Read more

[src]

Called after every array. Writes a ] to the specified writer. Read more

[src]

Called before every array value. Writes a , if needed to the specified writer. Read more

[src]

Called after every array value.

[src]

Called before every object. Writes a { to the specified writer. Read more

[src]

Called after every object. Writes a } to the specified writer. Read more

[src]

Called before every object key.

[src]

Called after every object key. A : should be written to the specified writer by either this method or begin_object_value. Read more

[src]

Called before every object value. A : should be written to the specified writer by either this method or end_object_key. Read more

[src]

Called after every object value.

impl<'a> Formatter for &'a mut (Formatter + Send)
[src]

[src]

Writes a null value to the specified writer.

[src]

Writes a true or false value to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Called before each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Called after each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Writes a string fragment that doesn't need any escaping to the specified writer. Read more

[src]

Writes a character escape code to the specified writer.

[src]

Called before every array. Writes a [ to the specified writer. Read more

[src]

Called after every array. Writes a ] to the specified writer. Read more

[src]

Called before every array value. Writes a , if needed to the specified writer. Read more

[src]

Called after every array value.

[src]

Called before every object. Writes a { to the specified writer. Read more

[src]

Called after every object. Writes a } to the specified writer. Read more

[src]

Called before every object key.

[src]

Called after every object key. A : should be written to the specified writer by either this method or begin_object_value. Read more

[src]

Called before every object value. A : should be written to the specified writer by either this method or end_object_key. Read more

[src]

Called after every object value.

impl<'a> Formatter for &'a mut (Formatter + Sync)
[src]

[src]

Writes a null value to the specified writer.

[src]

Writes a true or false value to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Called before each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Called after each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Writes a string fragment that doesn't need any escaping to the specified writer. Read more

[src]

Writes a character escape code to the specified writer.

[src]

Called before every array. Writes a [ to the specified writer. Read more

[src]

Called after every array. Writes a ] to the specified writer. Read more

[src]

Called before every array value. Writes a , if needed to the specified writer. Read more

[src]

Called after every array value.

[src]

Called before every object. Writes a { to the specified writer. Read more

[src]

Called after every object. Writes a } to the specified writer. Read more

[src]

Called before every object key.

[src]

Called after every object key. A : should be written to the specified writer by either this method or begin_object_value. Read more

[src]

Called before every object value. A : should be written to the specified writer by either this method or end_object_key. Read more

[src]

Called after every object value.

impl<'a> Formatter for &'a mut (Formatter + Send + Sync)
[src]

[src]

Writes a null value to the specified writer.

[src]

Writes a true or false value to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like -123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes an integer value like 123 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Writes a floating point value like -31.26e+12 to the specified writer.

[src]

Called before each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Called after each series of write_string_fragment and write_char_escape. Writes a " to the specified writer. Read more

[src]

Writes a string fragment that doesn't need any escaping to the specified writer. Read more

[src]

Writes a character escape code to the specified writer.

[src]

Called before every array. Writes a [ to the specified writer. Read more

[src]

Called after every array. Writes a ] to the specified writer. Read more

[src]

Called before every array value. Writes a , if needed to the specified writer. Read more

[src]

Called after every array value.

[src]

Called before every object. Writes a { to the specified writer. Read more

[src]

Called after every object. Writes a } to the specified writer. Read more

[src]

Called before every object key.

[src]

Called after every object key. A : should be written to the specified writer by either this method or begin_object_value. Read more

[src]

Called before every object value. A : should be written to the specified writer by either this method or end_object_key. Read more

[src]

Called after every object value.

Implementors