pub trait JsonBuffer {
// Required methods
fn push(&mut self, c: char);
fn push_str(&mut self, s: &str);
fn reserve(&mut self, l: usize);
}Expand description
Any buffer which JSON may be written into.
Required Methods§
fn push(&mut self, c: char)
fn push_str(&mut self, s: &str)
fn reserve(&mut self, l: usize)
Implementations on Foreign Types§
Source§impl JsonBuffer for String
Available on crate feature alloc only.
impl JsonBuffer for String
Available on crate feature
alloc only.