pub struct PrettyJsonFormatter { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<W: Write> WriteFormatter<W> for PrettyJsonFormatter
impl<W: Write> WriteFormatter<W> for PrettyJsonFormatter
fn write_struct_begin( &mut self, write: &mut W, _name: &str, _fields: usize, ) -> IoResult
fn write_struct_end(&mut self, write: &mut W, _name: &str) -> IoResult
fn write_field_assignnment_begin(&mut self, write: &mut W) -> IoResult
fn write_field_key(&mut self, write: &mut W, name: &str) -> IoResult
fn write_field_assignnment_operator(&mut self, write: &mut W) -> IoResult
fn write_field_assignnment_end( &mut self, write: &mut W, pos: &Position, ) -> IoResult
fn write_collection_begin( &mut self, write: &mut W, _name: &str, _size: usize, ) -> IoResult
fn write_collection_end(&mut self, write: &mut W, _name: &str) -> IoResult
fn write_i8(&mut self, write: &mut W, value: &i8) -> IoResult
fn write_i16(&mut self, write: &mut W, value: &i16) -> IoResult
fn write_i32(&mut self, write: &mut W, value: &i32) -> IoResult
fn write_i64(&mut self, write: &mut W, value: &i64) -> IoResult
fn write_i128(&mut self, write: &mut W, value: &i128) -> IoResult
fn write_u8(&mut self, write: &mut W, value: &u8) -> IoResult
fn write_u16(&mut self, write: &mut W, value: &u16) -> IoResult
fn write_u32(&mut self, write: &mut W, value: &u32) -> IoResult
fn write_u64(&mut self, write: &mut W, value: &u64) -> IoResult
fn write_u128(&mut self, write: &mut W, value: &u128) -> IoResult
fn write_f32(&mut self, write: &mut W, value: &f32) -> IoResult
fn write_f64(&mut self, write: &mut W, value: &f64) -> IoResult
fn write_usize(&mut self, write: &mut W, value: &usize) -> IoResult
fn write_isize(&mut self, write: &mut W, value: &isize) -> IoResult
fn write_str(&mut self, write: &mut W, value: &str) -> IoResult
Auto Trait Implementations§
impl Freeze for PrettyJsonFormatter
impl RefUnwindSafe for PrettyJsonFormatter
impl Send for PrettyJsonFormatter
impl Sync for PrettyJsonFormatter
impl Unpin for PrettyJsonFormatter
impl UnwindSafe for PrettyJsonFormatter
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