[−][src]Struct olpc_cjson::CanonicalFormatter
A Formatter
that produces canonical JSON.
See the crate-level documentation for more detail.
Methods
impl CanonicalFormatter
[src]
Trait Implementations
impl Default for CanonicalFormatter
[src]
fn default() -> CanonicalFormatter
[src]
impl Debug for CanonicalFormatter
[src]
impl Formatter for CanonicalFormatter
[src]
fn write_null<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn write_bool<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: bool
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: bool
) -> Result<()>
fn write_i8<W: Write + ?Sized>(&mut self, writer: &mut W, arg: i8) -> Result<()>
[src]
fn write_i16<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: i16
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: i16
) -> Result<()>
fn write_i32<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: i32
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: i32
) -> Result<()>
fn write_i64<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: i64
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: i64
) -> Result<()>
fn write_u8<W: Write + ?Sized>(&mut self, writer: &mut W, arg: u8) -> Result<()>
[src]
fn write_u16<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: u16
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: u16
) -> Result<()>
fn write_u32<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: u32
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: u32
) -> Result<()>
fn write_u64<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: u64
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: u64
) -> Result<()>
fn write_f32<W: Write + ?Sized>(
&mut self,
_writer: &mut W,
_value: f32
) -> Result<()>
[src]
&mut self,
_writer: &mut W,
_value: f32
) -> Result<()>
fn write_f64<W: Write + ?Sized>(
&mut self,
_writer: &mut W,
_value: f64
) -> Result<()>
[src]
&mut self,
_writer: &mut W,
_value: f64
) -> Result<()>
fn write_number_str<W: Write + ?Sized>(
&mut self,
writer: &mut W,
value: &str
) -> Result<()>
[src]
&mut self,
writer: &mut W,
value: &str
) -> Result<()>
fn begin_string<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn end_string<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn write_string_fragment<W: Write + ?Sized>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<()>
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<()>
fn write_char_escape<W: Write + ?Sized>(
&mut self,
writer: &mut W,
char_escape: CharEscape
) -> Result<()>
[src]
&mut self,
writer: &mut W,
char_escape: CharEscape
) -> Result<()>
fn begin_array<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn end_array<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn begin_array_value<W: Write + ?Sized>(
&mut self,
writer: &mut W,
arg: bool
) -> Result<()>
[src]
&mut self,
writer: &mut W,
arg: bool
) -> Result<()>
fn end_array_value<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn begin_object<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn end_object<W: Write + ?Sized>(&mut self, writer: &mut W) -> Result<()>
[src]
fn begin_object_key<W: Write + ?Sized>(
&mut self,
_writer: &mut W,
_first: bool
) -> Result<()>
[src]
&mut self,
_writer: &mut W,
_first: bool
) -> Result<()>
fn end_object_key<W: Write + ?Sized>(&mut self, _writer: &mut W) -> Result<()>
[src]
fn begin_object_value<W: Write + ?Sized>(
&mut self,
_writer: &mut W
) -> Result<()>
[src]
&mut self,
_writer: &mut W
) -> Result<()>
fn end_object_value<W: Write + ?Sized>(&mut self, _writer: &mut W) -> Result<()>
[src]
fn write_raw_fragment<W: Write + ?Sized>(
&mut self,
writer: &mut W,
fragment: &str
) -> Result<()>
[src]
&mut self,
writer: &mut W,
fragment: &str
) -> Result<()>
Auto Trait Implementations
impl Send for CanonicalFormatter
impl Sync for CanonicalFormatter
impl Unpin for CanonicalFormatter
impl UnwindSafe for CanonicalFormatter
impl RefUnwindSafe for CanonicalFormatter
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,