Trait miniserde::de::Visitor [−][src]
pub trait Visitor { fn null(&mut self) -> Result<()> { ... } fn boolean(&mut self, b: bool) -> Result<()> { ... } fn string(&mut self, s: &str) -> Result<()> { ... } fn negative(&mut self, n: i64) -> Result<()> { ... } fn nonnegative(&mut self, n: u64) -> Result<()> { ... } fn float(&mut self, n: f64) -> Result<()> { ... } fn seq(&mut self) -> Result<Box<Seq>> { ... } fn map(&mut self) -> Result<Box<Map>> { ... } }
Trait that can write data into an output place.
Provided Methods
fn null(&mut self) -> Result<()>
fn boolean(&mut self, b: bool) -> Result<()>
fn string(&mut self, s: &str) -> Result<()>
fn negative(&mut self, n: i64) -> Result<()>
fn nonnegative(&mut self, n: u64) -> Result<()>
fn float(&mut self, n: f64) -> Result<()>
fn seq(&mut self) -> Result<Box<Seq>>
fn map(&mut self) -> Result<Box<Map>>
Methods
impl Visitor
[src]
impl Visitor