Trait yaserde::Visitor [−][src]
pub trait Visitor<'de>: Sized { type Value; fn visit_bool(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_i8(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_u8(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_i16(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_u16(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_i32(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_u32(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_i64(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_u64(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_f32(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_f64(self, v: &str) -> Result<Self::Value, String> { ... } fn visit_str(self, v: &str) -> Result<Self::Value, String> { ... } }
Expand description
A visitor that can be implemented to retrieve information from source file.